google / UIforETW

User interface for recording and managing ETW traces
https://randomascii.wordpress.com/2015/04/14/uiforetw-windows-performance-made-easier/
Apache License 2.0
1.55k stars 201 forks source link

Need help! #165

Closed maolike closed 8 months ago

maolike commented 8 months ago

Why UI Delays has no data?What should i set in UIForETW?

image

randomascii commented 8 months ago

If UI delays has no data that may mean that there were no UI delays in the trace that you recorded. That is, maybe all processes continued pumping messages.

That seems unlikely, but it is possible. Unfortunately this is really a Windows/ETW question, not a UIforETW question, so you might want to try asking on stack overflow or similar for ideas.

maolike commented 8 months ago

Thank you for your answer. In my scenario, VS was stuck first, and then the entire desktop was stuck.I closed VS via ghost window,then clicked button of "Save Trace Buffers" in UIforETW. I set circular buffer tracing in UIforETW.Could it be that the previous data has been overwritten, causing UI delays to have no data? Normally, UI delays will definitely have devenv.exe data.

randomascii commented 8 months ago

That does sound frustrating, and it sounds like a bug. The circular buffer that holds the UI delays data normally covers an extremely long period of time because the data rate is quite low. You can usually infer from the timeline how long a period that buffer covered (see where the CPU data is, and then see how much longer the overall timeline is) but that doesn't help you do anything. Sorry, that's all I've got.

maolike commented 8 months ago

Anyway, thanks for your tool and blog. I finally solved the problem by tracing to file.The VS hanging was caused by the Sogou Pinyin.I switched the input method to Microsoft input method and it became normal.