Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libfortran-support
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
icon-libraries
libfortran-support
Commits
21c78e28
Commit
21c78e28
authored
1 year ago
by
Jonas Jucker
Committed by
Yen-Chen Chen
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
add test for timer
parent
65e3dbe0
No related branches found
No related tags found
1 merge request
!64
Draft: add test for util_stride
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/fortran/test_util_timer.f90
+0
-28
0 additions, 28 deletions
test/fortran/test_util_timer.f90
with
0 additions
and
28 deletions
test/fortran/test_util_timer.f90
deleted
100644 → 0
+
0
−
28
View file @
65e3dbe0
! ICON
!
! ---------------------------------------------------------------
! Copyright (C) 2004-2025, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss
! Contact information: icon-model.org
!
! See AUTHORS.TXT for a list of authors
! See LICENSES/ for license information
! SPDX-License-Identifier: BSD-3-Clause
! ---------------------------------------------------------------
MODULE
test_mo_util_timer
USE
FORTUTF
USE
fortran_support
,
ONLY
:
util_gettimeofday
CONTAINS
SUBROUTINE
TEST_cputime
USE
ISO_C_BINDING
,
ONLY
:
c_ptr
,
c_double
,
c_int
REAL
(
c_double
)
::
time1
,
time2
CALL
TAG_TEST
(
"TEST_gettimeofday"
)
time1
=
util_gettimeofday
()
time2
=
util_gettimeofday
()
CALL
ASSERT_ALMOST_EQUAL
(
time1
,
time2
)
END
SUBROUTINE
END
MODULE
test_mo_util_timer
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment