Stops Performance Monitor counting for a specified workload partition.
Performance Monitor APIs Library (libpmapi.a)
The pm_stop_wp and pm_tstop_wp subroutines stop counting for the activities of the processes that belong to a specified workload partition (WPAR).
The pm_stop_wp subroutine stops Performance Monitor counting for a specified WPAR.
The pm_tstop_wp subroutine stops Performance Monitor counting for a specified WPAR, and returns a timestamp indicating when the counting was started.
| Item | Description |
|---|---|
| cid | Specifies the WPAR identifier from which the counting stops. The CID can be obtained from the WPAR name using the getcorralid system call. |
| time | Pointer to a structure that contains the timebase value when the counting starts. The value of time can be converted to time using the time_base_to_time subroutine. |
| Item | Description |
|---|---|
| 0 | Operation completed successfully. |
| Positive error code | Run the pm_error subroutine (pm_error Subroutine) to decode the error code. |
Run the pm_error subroutine to decode the error code.
| Item | Description |
|---|---|
| /usr/include/pmapi.h | Defines standard macros, data types, and subroutines. |