Apr-23-2021, 07:41 PM
I have a small app that does work on about 100 loops each on a new thread. How can I measure the total execution time from the point where the app started to run to the point where the last thread completed?
If I do a print(endtime - starttime) after the last loop, the threads are still running for about 10 seconds. So the end of the last loop is not when the app is finished running.
Thank you.
If I do a print(endtime - starttime) after the last loop, the threads are still running for about 10 seconds. So the end of the last loop is not when the app is finished running.
Thank you.