PAPI_get_real_usec(3)

PAPI_get_real_usec3

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.

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

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Author

Generated automatically by Doxygen for PAPI from the source code.

From libpapi-dev 7.1.0-5+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.