27 printf(
"Library initialization error! \n");
34 printf(
"PAPI_get_hardware_info error! \n");
40 printf(
"%d CPU at %f Mhz.\n",hwinfo->
totalcpus,hwinfo->
mhz);
get information about the system hardware
initialize the PAPI library.
Finish using PAPI and free all related resources.
Return codes and api definitions.
char model_string[PAPI_MAX_STR_LEN]