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

Support of reporting the average duration #4

Open
yuki-koyama opened this issue Sep 10, 2019 · 0 comments
Open

Support of reporting the average duration #4

yuki-koyama opened this issue Sep 10, 2019 · 0 comments

Comments

@yuki-koyama
Copy link
Owner

It would be useful if the library provides the functionality to report the average duration for multiple runs of a function. For example,

static timer::AverageTimer timer(100);

void PerformSomeProcedure()
{
    timer.start();

    // Perform some procedure

    timer.stop();
}

Then, it displays the average duration over 100 runs of this function every 100 runs of this function.

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