Ignore:
Timestamp:
Apr 5, 2016 7:44:00 PM (8 years ago)
Author:
raasch
Message:

preprocessor directives using machine dependent flags (lc, ibm, etc.) mostly removed from the code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/cpulog.f90

    r1683 r1808  
    1919! Current revisions:
    2020! -----------------
    21 !
     21! cpu measurements are done with standard FORTRAN routine on every machine
    2222!
    2323! Former revisions:
     
    182182       TYPE(logpoint)    ::  log_event          !<
    183183
    184 #if defined( __lc ) || defined( __decalpha )
    185184       INTEGER(idp)     ::  count        !<
    186185       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 #endif
    193186
    194187
     
    224217!
    225218!--    Take current time
    226 #if defined( __lc ) || defined( __decalpha ) || defined( __nec )
    227219       CALL SYSTEM_CLOCK( count, count_rate )
    228220       mtime = REAL( count, KIND=wp ) / REAL( count_rate, KIND=wp )
    229 #elif defined( __ibm )
    230        mtime = IRTC( ) * 1E-9_wp
    231 #else
    232        message_string = 'no time measurement defined on this host'
    233        CALL message( 'cpu_log', 'PA0175', 1, 2, 0, 6, 0 )
    234 #endif
    235221
    236222!
Note: See TracChangeset for help on using the changeset viewer.