Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

CentOS 7.0 - man page for papi_get_real_usec (centos section 3)

PAPI_get_real_usec(3)						       PAPI						     PAPI_get_real_usec(3)

PAPI_get_real_usec - get real time counter value in microseconds
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. @par Examples: s = PAPI_get_real_cyc(); your_slow_code(); e = PAPI_get_real_cyc(); printf("Wallclock cycles: %lld\n",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. Version Tue Jun 17 2014 PAPI_get_real_usec(3)