[1682] | 1 | !> @file local_tremain_ini.f90 |
---|
[2000] | 2 | !------------------------------------------------------------------------------! |
---|
[2696] | 3 | ! This file is part of the PALM model system. |
---|
[1036] | 4 | ! |
---|
[2000] | 5 | ! PALM is free software: you can redistribute it and/or modify it under the |
---|
| 6 | ! terms of the GNU General Public License as published by the Free Software |
---|
| 7 | ! Foundation, either version 3 of the License, or (at your option) any later |
---|
| 8 | ! version. |
---|
[1036] | 9 | ! |
---|
| 10 | ! PALM is distributed in the hope that it will be useful, but WITHOUT ANY |
---|
| 11 | ! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR |
---|
| 12 | ! A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
---|
| 13 | ! |
---|
| 14 | ! You should have received a copy of the GNU General Public License along with |
---|
| 15 | ! PALM. If not, see <http://www.gnu.org/licenses/>. |
---|
| 16 | ! |
---|
[4360] | 17 | ! Copyright 1997-2020 Leibniz Universitaet Hannover |
---|
[2000] | 18 | !------------------------------------------------------------------------------! |
---|
[1036] | 19 | ! |
---|
[484] | 20 | ! Current revisions: |
---|
[1] | 21 | ! ----------------- |
---|
[2001] | 22 | ! |
---|
| 23 | ! |
---|
[1321] | 24 | ! Former revisions: |
---|
| 25 | ! ----------------- |
---|
| 26 | ! $Id: local_tremain_ini.f90 4360 2020-01-07 11:25:50Z eckhard $ |
---|
[2716] | 27 | ! Corrected "Former revisions" section |
---|
| 28 | ! |
---|
[4182] | 29 | ! 3655 2019-01-07 16:51:22Z knoop |
---|
| 30 | ! Corrected "Former revisions" section |
---|
[1321] | 31 | ! |
---|
[4182] | 32 | ! Revision 1.1 1998/03/18 20:15:05 raasch |
---|
| 33 | ! Initial revision |
---|
| 34 | ! |
---|
| 35 | ! |
---|
[1] | 36 | ! Description: |
---|
| 37 | ! ------------ |
---|
[1682] | 38 | !> Initialization of CPU-time measurements for different operating systems |
---|
[1] | 39 | !------------------------------------------------------------------------------! |
---|
[1682] | 40 | SUBROUTINE local_tremain_ini |
---|
| 41 | |
---|
[1320] | 42 | |
---|
| 43 | USE cpulog, & |
---|
| 44 | ONLY: initial_wallclock_time |
---|
| 45 | |
---|
| 46 | USE kinds |
---|
[1] | 47 | |
---|
| 48 | IMPLICIT NONE |
---|
| 49 | |
---|
[1682] | 50 | INTEGER(idp) :: count !< |
---|
| 51 | INTEGER(idp) :: count_rate !< |
---|
[1] | 52 | |
---|
| 53 | ! |
---|
| 54 | !-- Get initial wall clock time |
---|
| 55 | CALL SYSTEM_CLOCK( count, count_rate ) |
---|
[1322] | 56 | initial_wallclock_time = REAL( count, KIND=wp ) / REAL( count_rate, KIND=wp ) |
---|
[1] | 57 | |
---|
| 58 | END SUBROUTINE local_tremain_ini |
---|