Returns the current process type.
Performance Monitor APIs (libpmapi.a)
#include <pmapi.h>
int pm_get_proctype ()
The pm_get_proctype subroutine returns the current processor type. This value is the same as the one returned in the proctype parameter by the pm_initialize subroutine.
| Item | Description |
|---|---|
| Positive value | Current processor type. |
| -1 | Unsupported processor type. |
| Item | Description |
|---|---|
| /usr/include/pmapi.h | Defines standard macros, data types, and subroutines. |