Stops Performance Monitor counting for the calling thread.
Performance Monitor APIs Library (libpmapi.a)
#include <pmapi.h>
int pm_stop_mythread ()
int pm_tstop_mythread(*time)
timebasestruct_t *time;
The pm_stop_mythread subroutine stops Performance Monitor counting for the calling kernel thread.
The pm_tstop_mythread subroutine stops Performance Monitor counting for the calling kernel thread, and returns a timestamp indicating when the counting was stopped.
Item | Description |
---|---|
*time | Pointer to a structure containing the timebase value when the counting was stopped. This can be converted to time using the time_base_to_time subroutine. |
Item | Description |
---|---|
0 | Operation completed successfully. |
Positive error code | Refer to the pm_error Subroutine to decode the error code. |
Refer to the pm_error Subroutine.
Item | Description |
---|---|
/usr/include/pmapi.h | Defines standard macros, data types, and subroutines. |