Nek5000
SEM for Incompressible NS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
papi.F90
Go to the documentation of this file.
1
subroutine
nek_flops
(flops,mflops)
2
use
kinds
, only
: r4, i8
3
implicit none
4
real(r4)
:: mflops
5
integer(i8)
:: flops
6
7
call
getflops_papi
(flops,mflops)
8
9
return
10
end subroutine
nek_flops
11
12
subroutine
getflops_papi
(flops,mflops)
13
use
kinds
, only
: r4, i8
14
implicit none
15
real(r4)
:: mflops
16
integer(i8)
:: flops
17
#ifdef PAPI
18
real(r4)
:: rtime,ptime
19
include
'f77papi.h'
20
21
call papif_flops(rtime,ptime,flops,mflops,ierr)
22
if
(ierr > 0)
then
23
flops = -1
24
mflops = -1
25
endif
26
#endif
27
28
return
29
end subroutine
getflops_papi
getflops_papi
subroutine getflops_papi(flops, mflops)
Definition:
papi.F90:12
nek_flops
subroutine nek_flops(flops, mflops)
Definition:
papi.F90:1
kinds
Definition:
kinds_mod.F90:1
Generated on Tue Jul 14 2015 10:52:58 for Nek5000 by
1.8.8