Measures processor speed in cycles per second.
Performance Monitor APIs Library (libpmapi.a)
#include <pmapi.h> double pm_cycles (void)
The pm_cycles subroutine uses the Performance Monitor cycle counter and the processor real-time clock to measure the actual processor clock speed. The speed is returned in cycles per second.
|0||An error occurred.|
|Processor speed in cycles per second||No errors occurred.|
|/usr/include/pmapi.h||Defines standard macros, data types, and subroutines.|
Performance Monitor API Programming Concepts in AIX 5L Version 5.1 General Programming Concepts.