1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
.TH "PAPI_get_real_cyc" 3 "Mon Jun 30 2014" "Version 5.3.2.0" "PAPI" \" -*- nroff -*-
.ad l
.nh
.SH NAME
PAPI_get_real_cyc \-
.PP
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\&.
.SH SYNOPSIS
.br
.PP
.SH "Detailed Description"
.PP
.PP
.nf
@par Examples:
.fi
.PP
.PP
.nf
s = PAPI_get_real_cyc();
your_slow_code();
e = PAPI_get_real_cyc();
printf("Wallclock cycles: %lld\en",e-s);
*
.fi
.PP
.PP
\fBSee Also:\fP
.RS 4
PAPIF PAPI \fBPAPI_get_virt_usec\fP \fBPAPI_get_virt_cyc\fP \fBPAPI_library_init\fP
.RE
.PP
.SH "Author"
.PP
Generated automatically by Doxygen for PAPI from the source code\&.
|