发明名称 Monitoring the responsiveness of a user interface
摘要 A diagnostic mechanism monitors execution of a user interface (UI) thread to detect execution of a long running task that may have caused the UI thread to become unresponsive. The execution time of the UI thread is monitored and when it exceeds a threshold, the UI thread's call stack is preserved to a mini-dump file. The completion time of the UI thread is also tracked and stored in a delay file. The mini-dump and delay files are then uploaded to a server where the collected data is aggregated overall execution runs by multiple users to identify the cause of the unresponsiveness.
申请公布号 US9389936(B2) 申请公布日期 2016.07.12
申请号 US201113241249 申请日期 2011.09.23
申请人 MICROSOFT TECHNOLOGY LICENSING, LLC. 发明人 McColl Cameron;Price Philip;Aygun Bertan;Basava Shibani
分类号 G06F13/00;G06F11/07;G06F9/48 主分类号 G06F13/00
代理机构 代理人 Sullivan Kevin;Drakos Kate;Minhas Micky
主权项 1. A method for monitoring the responsiveness of a user interface, comprising: monitoring execution of a user interface (UI) thread processing an event from when the UI thread initiates execution of a message associated with the event to completion of an event handler that is associated with the event; determining that the UI thread is unresponsive when an amount of time the UI thread takes to process the event exceeds a threshold; suspending execution of the UI thread; during the suspended execution of the UI thread, preserving a call stack associated with the UI thread when the UI thread is determined to be unresponsive; and resuming execution of the UI thread once the call stack is preserved, wherein the preceding steps are performed on at least one processor.
地址 Redmond WA US