C++线程等待时间
有没有办法获取线程在其生命周期中等待的时间(在 C++/Windows 中)? (我之前问过工作时间,但获得等待时间会好得多:))
使用 GetThreadTimes
对我来说还不够,因为我需要一个高结果(比 100 微秒好得多,更接近 5-10 微秒甚至更短。
Is there a way to get the time a thread has been WAITING during its life (in C++/windows)?
(I've asked before about the working time, but getting the waiting time would be much better :) )
Using GetThreadTimes
is not enough for me because I need a high resultion (way better than 100 microsec, more towards 5-10 microsec or even less.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)