forked from mom-ocean/MOM6
-
Notifications
You must be signed in to change notification settings - Fork 20
Add tracing instrumentation to nuopc driver #162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
1534c4c
Add ufs_tracing
DusanJovic-NOAA 85925c3
Merge remote-tracking branch 'origin/dev/emc' into ufs_tracing
DusanJovic-NOAA 66ff0e1
Merge remote-tracking branch 'origin/dev/emc' into ufs_tracing
DusanJovic-NOAA e44a5d8
Merge remote-tracking branch 'origin/dev/emc' into ufs_tracing
DusanJovic-NOAA b5ea748
Merge remote-tracking branch 'origin/dev/emc' into ufs_tracing
DusanJovic-NOAA b0cc86e
Conditional compilation of ufs_tracing
DusanJovic-NOAA 34f9ab7
Merge remote-tracking branch 'origin/dev/emc' into ufs_tracing
DusanJovic-NOAA 61ff71e
Remove UFS_TRACING ifdefs and add ufs_trace_mod stub module
DusanJovic-NOAA 8c8153e
Add mom_ufs_trace_wrapper.F90 and update ufs_trace calls
DusanJovic-NOAA f1b9167
Add return statement in ufs_trace_finalize_wrapper
DusanJovic-NOAA 065c887
Merge remote-tracking branch 'origin/dev/emc' into ufs_tracing
DusanJovic-NOAA 6026156
Merge remote-tracking branch 'origin/dev/emc' into ufs_tracing
DusanJovic-NOAA d691235
Merge remote-tracking branch 'origin/dev/emc' into ufs_tracing
DusanJovic-NOAA File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| module mom_ufs_trace_wrapper_mod | ||
|
|
||
| #ifdef UFS_TRACING | ||
| use ufs_trace_mod, only: ufs_trace_init, ufs_trace, ufs_trace_finalize | ||
| #endif | ||
|
|
||
| implicit none | ||
|
|
||
| private | ||
|
|
||
| public ufs_trace_init_wrapper | ||
| public ufs_trace_wrapper | ||
| public ufs_trace_finalize_wrapper | ||
|
|
||
| contains | ||
|
|
||
| subroutine ufs_trace_init_wrapper() | ||
| #ifdef UFS_TRACING | ||
| call ufs_trace_init | ||
| #endif | ||
| return | ||
| end subroutine ufs_trace_init_wrapper | ||
|
|
||
| subroutine ufs_trace_wrapper(component, routine, ph) | ||
| character(len=*), intent(in) :: component, routine, ph | ||
| #ifdef UFS_TRACING | ||
| call ufs_trace(component, routine, ph) | ||
| #endif | ||
| return | ||
| end subroutine ufs_trace_wrapper | ||
|
|
||
| subroutine ufs_trace_finalize_wrapper() | ||
| #ifdef UFS_TRACING | ||
| call ufs_trace_finalize | ||
| #endif | ||
| return | ||
| end subroutine ufs_trace_finalize_wrapper | ||
|
|
||
| end module mom_ufs_trace_wrapper_mod | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.