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, 4 months ago) by chuckv
File size: 363 byte(s)
Log Message:
Small update to timing in MPI

File Contents

# Content
1 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
11 #ifdef IS_MPI
12 commTime = getCommTime()
13 #else
14 commTime = 0.0
15 #endif
16
17 #else
18 forceTime = 0.0
19 commTime = 0.0
20 #endif
21
22 end subroutine getTimes