pm_get_proctype Subroutine

Purpose

Returns the current process type.

Library

Performance Monitor APIs (libpmapi.a)

Syntax

#include <pmapi.h>

int pm_get_proctype ()

Description

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.

Return Values

Item Description
Positive value Current processor type.
-1 Unsupported processor type.

Files

Item Description
/usr/include/pmapi.h Defines standard macros, data types, and subroutines.