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 (21 years, 7 months ago) by chuckv
File size: 384 byte(s)
Log Message:
Another change for MPI in timing.

File Contents

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