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 44 45 46
|
.TH "PAPI_get_real_usec" 3 "Wed Jun 25 2025 19:30:48" "Version 7.2.0.0" "PAPI" \" -*- nroff -*-
.ad l
.nh
.SH NAME
PAPI_get_real_usec \- get real time counter value in microseconds
.SH SYNOPSIS
.br
.PP
.SH "Detailed Description"
.PP
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\&.
.PP
\fBExamples:\fP
.RS 4
.PP
.nf
s = PAPI_get_real_cyc();
your_slow_code();
e = PAPI_get_real_cyc();
printf("Wallclock cycles: %lld\\en",e\-s);
.fi
.PP
.RE
.PP
\fBSee also\fP
.RS 4
PAPIF
.PP
PAPI
.PP
\fBPAPI_get_virt_usec\fP
.PP
\fBPAPI_get_virt_cyc\fP
.PP
\fBPAPI_library_init\fP
.RE
.PP
.SH "Author"
.PP
Generated automatically by Doxygen for PAPI from the source code\&.
|