问题描述
是否有任何工具可以在运行时显示每个线程的页面错误增量?基本上,我有一个导致大量页面错误的应用程序,我想确定导致最大页面错误的线程.
Is there any tool which displays at runtime, Page Faults delta on a per thread basis? Basically I have an application that is causing lots of page faults and I want to nail down the thread which is causing the maximum.
推荐答案
我真的怀疑您能否将页面错误确定为线程处理页面错误而不是线程.当然,尽管就 CPU 而言,它可能是最繁忙的线程,也可能是您想要查看的上下文切换.
I really doubt you could nail down page faults to threads a process page faults not a thread. Surely though its going to be the busiest thread in terms of either CPU or may be Context switches that you would want to look at.
我使用进程浏览器进行此类诊断.打开应用程序的属性并选择线程选项卡.
I use process explorer for this sort of diagnosis. Open the properties on your application and select the threads tab.
这篇关于Windows 页面错误监视器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!