ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/timing.f90
Revision: 890
Committed: Fri Dec 19 20:19:05 2003 UTC (20 years, 7 months ago) by chuckv
File size: 384 byte(s)
Log Message:
Another change for MPI in timing.

File Contents

# Content
1 subroutine getTimes(forceTime,commTime)
2 use do_Forces
3 #ifdef IS_MPI
4 use mpiSimulation
5 #endif
6 implicit none
7
8 real :: forceTime
9 real :: commTime
10 #ifdef PROFILE
11 forceTime = getForceTime()
12
13 #ifdef IS_MPI
14 commTime = getCommTime()
15 #else
16 commTime = 0.0
17 #endif
18
19 #else
20 forceTime = 0.0
21 commTime = 0.0
22 #endif
23
24 end subroutine getTimes