logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

PAPI_get_real_cyc - get real time counter value in clock cycles Returns the total real time passed since

Author

       Generated automatically by Doxygen for PAPI from the source code.

Version 7.1.0.0                                  Thu Dec 14 2023                            PAPI_get_real_cyc(3)

Detailed Description

Examples:

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

       Seealso
           PAPIF PAPI PAPI_get_virt_usecPAPI_get_virt_cycPAPI_library_init

Name

       PAPI_get_real_cyc - get real time counter value in clock cycles Returns the total real time passed since
       some arbitrary starting point. The time is returned in clock cycles. This call is equivalent to wall
       clock time.

Synopsis

See Also