399 REAL RESULT
400 REAL, DIMENSION(2) :: TIMER
401#ifdef COMP_NVFORTRAN
402 REAL, EXTERNAL :: ETIME
403#endif
404#if CPP_mach == cpp_rs7 || cpp_mach == cpp_rs9 || cpp_mach == cpp_sp2 || cpp_mach == cpp_ppc || cpp_mach == cpp_pwr4 || cpp_mach == cpp_pwr4_spmd
405 result = etime_(timer)
406#elif CPP_mach == CPP_ymp || CPP_mach == CPP_c90 || CPP_mach == CPP_ymp_spmd || CPP_mach == CPP_t90 || CPP_mach == CPP_t90_i3e
407 CALL tsecnd(timer)
408#elif CPP_mach == CPP_sx4 || CPP_mach == CPP_sx4_i3e
409 result = etime(timer)
410/* el51e9 #elif CPP_mach == CPP_w95 || CPP_mach == CPP_ant || CPP_mach == CPP_wnt || CPP_mach == CPP_wmr */
411#elif cpp_mach == cpp_w95 || cpp_mach == cpp_wnt || cpp_mach == cpp_wmr
412 timer(1) = 0.
413#elif CPP_mach == CPP_win64_spmd || CPP_mach == CPP_p4win64_spmd || CPP_mach == CPP_p4win64
414 CALL cpu_time(timer(1))
415#elif CPP_mach == CPP_cx1_spmd || CPP_mach == CPP_cx1
416 result = etimec(timer)
417#elif 1
418 result = etime(timer)
419#endif
420 RETURN