Changeset 1808 for palm/trunk/SOURCE/cpulog.f90
- Timestamp:
- Apr 5, 2016 7:44:00 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/cpulog.f90
r1683 r1808 19 19 ! Current revisions: 20 20 ! ----------------- 21 ! 21 ! cpu measurements are done with standard FORTRAN routine on every machine 22 22 ! 23 23 ! Former revisions: … … 182 182 TYPE(logpoint) :: log_event !< 183 183 184 #if defined( __lc ) || defined( __decalpha )185 184 INTEGER(idp) :: count !< 186 185 INTEGER(idp) :: count_rate !< 187 #elif defined( __nec )188 INTEGER(iwp) :: count !<189 INTEGER(iwp) :: count_rate !<190 #elif defined( __ibm )191 INTEGER(idp) :: IRTC !<192 #endif193 186 194 187 … … 224 217 ! 225 218 !-- Take current time 226 #if defined( __lc ) || defined( __decalpha ) || defined( __nec )227 219 CALL SYSTEM_CLOCK( count, count_rate ) 228 220 mtime = REAL( count, KIND=wp ) / REAL( count_rate, KIND=wp ) 229 #elif defined( __ibm )230 mtime = IRTC( ) * 1E-9_wp231 #else232 message_string = 'no time measurement defined on this host'233 CALL message( 'cpu_log', 'PA0175', 1, 2, 0, 6, 0 )234 #endif235 221 236 222 !
Note: See TracChangeset
for help on using the changeset viewer.