Skip to content
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

Print "Approximated Real Time" #42

Open
TApplencourt opened this issue Jul 18, 2022 · 0 comments
Open

Print "Approximated Real Time" #42

TApplencourt opened this issue Jul 18, 2022 · 0 comments

Comments

@TApplencourt
Copy link
Collaborator

TApplencourt commented Jul 18, 2022

Some users want to know how much time their application run (real time ).

We cannot have this value in THAPI, but we can provide a approximation:
time_last_message - time_first_message.
If we assume that people start with Zenit/CuInit and stop with zeFinalize/CuFinalize this can be good enough.

Things to do:

  • Modify the tally to save the first and last message (
    for (uint64_t i = 0; i < message_count; i++) {
    ) and display it
    • Need to think of how to take care of multi-process ( do we want max - min global, or per process than then do the max)
  • Choose the correct string to display: Approximated Real Time? Runtime real-time? Elapasted Time for the runtime?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant