-
- Downloads
re PR fortran/34533 (DTIME returns total process time and not since last invocation)
gcc/fortran: 2007-12-25 Daniel Franke <franke.daniel@gmail.com> PR fortran/34533 * intrinsic.h (gfc_check_etime): Renamed to ... (gfc_check_dtime_etime): ... this. (gfc_check_etime_sub): Renamed to ... (gfc_check_dtime_etime_sub): ... this. (gfc_resolve_dtime_sub): New prototype. * check.c (gfc_check_etime): Renamed to ... (gfc_check_dtime_etime): ... this. (gfc_check_etime_sub): Renamed to ... (gfc_check_dtime_etime_sub): ... this. * iresolve.c (gfc_resolve_dtime_sub): New implementation. * intrinsic.c (add_functions): Removed alias from ETIME to DTIME, added stand-alone intrinsic DTIME. (add_subroutines): Adjusted check and resolve function names for DTIME and ETIME. * trans-intrinsic.c (gfc_conv_intrinsic_function): Added DTIME to known functions in switch. * intrinsic.texi (DTIME): Added paragraph about thread-safety, fixed return value section. (CPU_TIME): Clarified intent and added implementation notes. libgfortran: 2007-12-25 Daniel Franke <franke.daniel@gmail.com> PR fortran/34533 * intrinsics/cpu_time.c: Moved code commonly usable for CPU_TIME, DTIME and ETIME to ... * intrinsics/time_1.h: ... here. * intrinsics/dtime.c: New file. * intrinsics/etime.c: Newly implemented using the common time-aquisition function from time_1.h. * gfortran.map (_gfortran_dtime, _gfortran_dtime_sub): New. * Makefile.am: Added new file. * Makefile.in: Regenerated. * configure: Regenerated. From-SVN: r131168
Showing
- gcc/fortran/ChangeLog 23 additions, 0 deletionsgcc/fortran/ChangeLog
- gcc/fortran/check.c 2 additions, 2 deletionsgcc/fortran/check.c
- gcc/fortran/intrinsic.c 9 additions, 5 deletionsgcc/fortran/intrinsic.c
- gcc/fortran/intrinsic.h 3 additions, 2 deletionsgcc/fortran/intrinsic.h
- gcc/fortran/intrinsic.texi 22 additions, 1 deletiongcc/fortran/intrinsic.texi
- gcc/fortran/iresolve.c 9 additions, 1 deletiongcc/fortran/iresolve.c
- gcc/fortran/trans-intrinsic.c 1 addition, 0 deletionsgcc/fortran/trans-intrinsic.c
- libgfortran/ChangeLog 14 additions, 0 deletionslibgfortran/ChangeLog
- libgfortran/Makefile.am 1 addition, 0 deletionslibgfortran/Makefile.am
- libgfortran/Makefile.in 13 additions, 4 deletionslibgfortran/Makefile.in
- libgfortran/configure 3 additions, 3 deletionslibgfortran/configure
- libgfortran/gfortran.map 2 additions, 0 deletionslibgfortran/gfortran.map
- libgfortran/intrinsics/cpu_time.c 9 additions, 83 deletionslibgfortran/intrinsics/cpu_time.c
- libgfortran/intrinsics/dtime.c 86 additions, 0 deletionslibgfortran/intrinsics/dtime.c
- libgfortran/intrinsics/etime.c 10 additions, 21 deletionslibgfortran/intrinsics/etime.c
- libgfortran/intrinsics/time_1.h 142 additions, 0 deletionslibgfortran/intrinsics/time_1.h
Loading
Please register or sign in to comment