9main(
int argc,
char **argv )
23 test_fail( __FILE__, __LINE__,
"PAPI_get_hardware_info", 2 );
29 printf(
"Testing virt time clock. (CPU Max %d MHz, CPU Min %d MHz)\n",
31 printf(
"Sleeping for 10 seconds.\n" );
59 test_fail( __FILE__, __LINE__,
"Virt time greater than .1 seconds!",
static const PAPI_hw_info_t * hw_info
get information about the system hardware
get virtual time counter value in clock cycles
get virtual time counter values in microseconds
initialize the PAPI library.
Return codes and api definitions.
int tests_quiet(int argc, char **argv)
void PAPI_NORETURN test_fail(const char *file, int line, const char *call, int retval)
void PAPI_NORETURN test_pass(const char *filename)