Page faults monitor for Windows [closed]

半城伤御伤魂 提交于 2019-12-23 03:15:34

问题


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.


回答1:


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.




回答2:


Use Xperf. It aggregates ETW events & lets you drill down to find out which process/thread/function is responsible for most cpu/memalloc/diskops/faults etc.



来源:https://stackoverflow.com/questions/781285/page-faults-monitor-for-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!