ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/timing.f90
Revision: 889
Committed: Fri Dec 19 20:17:58 2003 UTC (21 years, 7 months ago) by chuckv
File size: 363 byte(s)
Log Message:
Small update to timing in MPI

File Contents

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