1 | !> @file local_tremain_ini.f90 |
---|
2 | !------------------------------------------------------------------------------! |
---|
3 | ! This file is part of the PALM model system. |
---|
4 | ! |
---|
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. |
---|
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 | ! |
---|
17 | ! Copyright 1997-2019 Leibniz Universitaet Hannover |
---|
18 | !------------------------------------------------------------------------------! |
---|
19 | ! |
---|
20 | ! Current revisions: |
---|
21 | ! ----------------- |
---|
22 | ! |
---|
23 | ! |
---|
24 | ! Former revisions: |
---|
25 | ! ----------------- |
---|
26 | ! $Id: local_tremain_ini.f90 4182 2019-08-22 15:20:23Z resler $ |
---|
27 | ! Corrected "Former revisions" section |
---|
28 | ! |
---|
29 | ! 3655 2019-01-07 16:51:22Z knoop |
---|
30 | ! Corrected "Former revisions" section |
---|
31 | ! |
---|
32 | ! Revision 1.1 1998/03/18 20:15:05 raasch |
---|
33 | ! Initial revision |
---|
34 | ! |
---|
35 | ! |
---|
36 | ! Description: |
---|
37 | ! ------------ |
---|
38 | !> Initialization of CPU-time measurements for different operating systems |
---|
39 | !------------------------------------------------------------------------------! |
---|
40 | SUBROUTINE local_tremain_ini |
---|
41 | |
---|
42 | |
---|
43 | USE cpulog, & |
---|
44 | ONLY: initial_wallclock_time |
---|
45 | |
---|
46 | USE kinds |
---|
47 | |
---|
48 | IMPLICIT NONE |
---|
49 | |
---|
50 | INTEGER(idp) :: count !< |
---|
51 | INTEGER(idp) :: count_rate !< |
---|
52 | |
---|
53 | ! |
---|
54 | !-- Get initial wall clock time |
---|
55 | CALL SYSTEM_CLOCK( count, count_rate ) |
---|
56 | initial_wallclock_time = REAL( count, KIND=wp ) / REAL( count_rate, KIND=wp ) |
---|
57 | |
---|
58 | END SUBROUTINE local_tremain_ini |
---|