centos man page for papi_get_virt_cyc

Query: papi_get_virt_cyc

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PAPI_get_virt_cyc(3)						       PAPI						      PAPI_get_virt_cyc(3)

NAME
PAPI_get_virt_cyc - get virtual time counter value in clock cycles
SYNOPSIS
Detailed Description @retval PAPI_ECNFLCT If there is no master event set. This will happen if the library has not been initialized, or for threaded applications, if there has been no thread id function defined by the PAPI_thread_init function. @retval PAPI_ENOMEM For threaded applications, if there has not yet been any thread specific master event created for the current thread, and if the allocation of such an event set fails, the call will return PAPI_ENOMEM or PAPI_ESYS . This function returns the total number of virtual units from some arbitrary starting point. Virtual units accrue every time the process is running in user-mode on behalf of the process. Like the real time counters, this count is guaranteed to exist on every platform PAPI supports. However on some platforms, the resolution can be as bad as 1/Hz as defined by the operating system. @par Examples: s = PAPI_get_virt_cyc(); your_slow_code(); e = PAPI_get_virt_cyc(); printf("Process has run for cycles: %lld ",e-s); * Author Generated automatically by Doxygen for PAPI from the source code. Version 5.2.0.0 Tue Jun 17 2014 PAPI_get_virt_cyc(3)
Related Man Pages
papi_accum(3) - centos
papi_add_event(3) - centos
papi_add_events(3) - centos
papi_get_virt_usec(3) - centos
papi_remove_named_event(3) - centos
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Set hard block limit for user using quota
Unsure why access time on a directory change isn't changing
CentOS 6 ran out of space, need to reclaim it
Please Welcome Dave Munro to the Moderator Team!