I am trying to capture Windows system busy, or Active window busy,开发者_运维知识库 from the perspective of the end user (typically when the Windows OS or the active Window puts up a Busy Cursor: or to capture when the system is busy). I am trying to do this without having to continually use GetCursor. Is there any way to set up a windows interrupt, such that when the Operating System or the the active Window is busy that and interrupt can be generated? thanks for your help
You could perform monitoring of the ProcessorQueueLength using the Win32_PerfFormattedData_PerfOS_System WMI object. There are various other performance counter, use the perfmon tool to investigate which of these are most useful to you.
精彩评论