# AGProcess(MachTaskEvents)

## Abstract

Extends AGProcess to get information about Mach task events.

## Discussion

(MachTaskEvents)

## Methods

`-contextSwitches`
`-copyOnWriteFaults`
`-faults`
`-machSystemCalls`
`-messagesReceived`
`-messagesSent`
`-pageins`
`-unixSystemCalls`

### contextSwitches

>     - (int)contextSwitches;

##### Discussion

Returns the number of context switches.

### copyOnWriteFaults

>     - (int)copyOnWriteFaults;

##### Discussion

Returns the number of copy on write faults.

### faults

>     - (int)faults;

##### Discussion

Returns the number of page faults.

### machSystemCalls

>     - (int)machSystemCalls;

##### Discussion

Returns the number of Mach system calls.

### messagesReceived

>     - (int)messagesReceived;

##### Discussion

Returns the number of Mach messages received.

### messagesSent

>     - (int)messagesSent;

##### Discussion

Returns the number of Mach messages sent.

### pageins

>     - (int)pageins;

##### Discussion

Returns the number of pageins.

### unixSystemCalls

>     - (int)unixSystemCalls;

##### Discussion

Returns the number of Unix system calls.

(Last Updated June 05, 2005)