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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
.TH "PAPIf_hl_stop" 3 "Wed Jun 25 2025 19:30:49" "Version 7.2.0.0" "PAPI" \" -*- nroff -*-
.ad l
.nh
.SH NAME
PAPIf_hl_stop \- Stop a running high-level event set\&.
.SH SYNOPSIS
.br
.PP
.SH "Detailed Description"
.PP
.PP
\fBFortran Prototype:\fP
.RS 4
#include 'fpapi\&.h'
.br
\fBPAPIf_hl_stop( C_INT check )\fP
.RE
.PP
\fBReturn values\fP
.RS 4
\fIPAPI_ENOEVNT\fP -- The EventSet is not started yet\&.
.br
\fIPAPI_ENOMEM\fP -- Insufficient memory to complete the operation\&.
.RE
.PP
\fBPAPIf_hl_stop\fP stops a running high-level event set\&.
.PP
This call is optional and only necessary if the programmer wants to use the low-level API in addition to the high-level API\&. It should be noted that \fBPAPIf_hl_stop\fP and low-level calls are not allowed inside of a marked region\&. Furthermore, \fBPAPIf_hl_stop\fP is thread-local and therefore has to be called in the same thread as the corresponding marked region\&.
.PP
\fBExample:\fP
.RS 4
.RE
.PP
.PP
.nf
integer retval
call PAPIf_hl_region_begin("computation", retval)
if ( retval \&.NE\&. PAPI_OK ) then
write (*,*) "PAPIf_hl_region_begin failed!"
end if
!do some computation here
call PAPIf_hl_region_end("computation", retval)
if ( retval \&.NE\&. PAPI_OK ) then
write (*,*) "PAPIf_hl_region_end failed!"
end if
call PAPIf_hl_stop(retval)
if ( retval \&.NE\&. PAPI_OK ) then
write (*,*) "PAPIf_hl_stop failed!"
end if
.fi
.PP
.PP
\fBSee also\fP
.RS 4
\fBPAPI_hl_stop\fP
.RE
.PP
.SH "Author"
.PP
Generated automatically by Doxygen for PAPI from the source code\&.
|