PAPI_get_real_cyc - Online Linux Manual PageSection : 3
Updated : September, 2004
Source : PAPI Programmer's Reference
Note : PAPI

NAMEPAPI_get_real_cyc − get real time counter value in clock cycles PAPI_get_real_usec − get real time counter value in microseconds

SYNOPSISC Interface #include <papi.h> long_long PAPI_get_real_cyc(void); long_long PAPI_get_real_usec(void);Fortran Interface #include "fpapi.h" PAPIF_get_real_usec(C_LONG_LONG time) PAPIF_get_real_cyc(C_LONG_LONG real_cyc)

DESCRIPTIONBoth of these functions return the total real time passed since some arbitrary starting point. The time is returned in clock cycles or microseconds respectively. These calls are equivalent to wall clock time.

ERRORSThese functions always succeed.

EXAMPLEs = PAPI_get_real_cyc(); your_slow_code(); e = PAPI_get_real_cyc(); printf("Wallclock cycles: %lld\n",e-s);

BUGSThese functions have no known bugs.

SEE ALSOPAPI_library_init(3)," PAPI_get_virt_cyc(3)," PAPI_get_virt_usec(3)," PAPI(3)," PAPIF(3)"
0
Johanes Gumabo
Data Size   :   5,312 byte
man-PAPI_get_real_cyc.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 171,163
Visitor ID   :     :  
Visitor IP   :   3.15.2.239   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.