You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the run function of the thread pool, startSleep() and sleepWakeUp() are used to obtain the thread execution time and sleep time. Although both are locked, in the case of multiple threads and multiple CPUs, the statistics of execution time and sleep time are incorrect. Ideally, a ThreadLoadCounter should only count the running data of one thread. eg: You can record the start timestamp and end timestamp for a single thread.
In the run function of the thread pool, startSleep() and sleepWakeUp() are used to obtain the thread execution time and sleep time. Although both are locked, in the case of multiple threads and multiple CPUs, the statistics of execution time and sleep time are incorrect. Ideally, a ThreadLoadCounter should only count the running data of one thread. eg: You can record the start timestamp and end timestamp for a single thread.
TRANS_BY_GITHUB_AI_ASSISTANT
The text was updated successfully, but these errors were encountered: