We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
线程池的run函数这里,使用startSleep()和sleepWakeUp()来获取线程执行时间和休眠时间,虽然两个都加锁,但是多线程多cpu的情况下,统计的执行时间和休眠时间不对,理想情况下一个ThreadLoadCounter只统计一个线程的运行数据。eg:可以对单个线程记录开始时间戳和结束时间戳。
The text was updated successfully, but these errors were encountered:
确实 这个只能统计一个线程的负载情况 在多个线程的情况下 应该关闭这个统计
Sorry, something went wrong.
No branches or pull requests
线程池的run函数这里,使用startSleep()和sleepWakeUp()来获取线程执行时间和休眠时间,虽然两个都加锁,但是多线程多cpu的情况下,统计的执行时间和休眠时间不对,理想情况下一个ThreadLoadCounter只统计一个线程的运行数据。eg:可以对单个线程记录开始时间戳和结束时间戳。
The text was updated successfully, but these errors were encountered: