ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/timing.F90
(Generate patch)

Comparing trunk/OOPSE/libmdtools/timing.F90 (file contents):
Revision 891 by mmeineke, Fri Dec 19 20:36:35 2003 UTC vs.
Revision 892 by chuckv, Mon Dec 22 21:27:04 2003 UTC

# Line 1 | Line 1
1   subroutine getTimes(forceTime,commTime)
2        use do_Forces
3 +      use definitions, ONLY: dp
4   #ifdef IS_MPI
5        use mpiSimulation
6   #endif
7        implicit none
8  
9 <      real :: forceTime
10 <      real :: commTime
9 >      real(kind=dp) :: forceTime
10 >      real(kind=dp) :: commTime
11 >      
12 >      forceTime = 0.0
13 >      commTime  = 0.0
14   #ifdef PROFILE
15        forceTime = getForceTime()
16  
17   #ifdef IS_MPI
18        commTime  = getCommTime()
15 #else
16      commTime = 0.0
19   #endif
18
19 #else
20      forceTime = 0.0
21      commTime = 0.0
20   #endif
21  
22   end subroutine getTimes

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines