PAPI_get_real_usec - Man Page

get real time counter value in microseconds

Synopsis

Detailed Description

This function returns the total real time passed since some arbitrary starting point. The time is returned in microseconds. This call is equivalent to wall clock time.

Examples:

s = PAPI_get_real_cyc();
your_slow_code();
e = PAPI_get_real_cyc();
printf("Wallclock cycles: %lld\en",e-s);
See also

PAPIF

PAPI

PAPI_get_virt_usec

PAPI_get_virt_cyc

PAPI_library_init

Author

Generated automatically by Doxygen for PAPI from the source code.

Info

Thu Jan 25 2024 00:00:00 Version 7.1.0.0 PAPI