-
May 17th, 2025, 08:04 AM
#1
Time related
Hello,
Im trying to come up with code for measuring the total time.
If a pixel takes lets say a 1 millisec to do some calculation, whatabout the n pixels.
But I want to display that in the format of, scaledNow kind of format
Code:
auto start = std::chrono::steady_clock::now();
sleep(1);
auto actualNow = std::chrono::steady_clock::now();
auto timePassed = actualNow - start;
auto timePassedScaled = timePassed * 2.0;
auto scaledNow = start + timePassedScaled;
Thanks
pdk
-
May 17th, 2025, 02:06 PM
#2
Re: Time related
So, what exactly do you need to get as an answer?
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|