发明名称 Performance indicator for measuring responsiveness of user interface applications to user input
摘要 A method for measuring application responsiveness measures the time elapsed between receiving and processing a trailing tag message inserted into the application's message queue. The method receives a message, generates a trailing tag message associated with the message, and inserts the trailing tag message into the application's message queue. The trailing tag message includes a timestamp indicating when the trailing tag message was queued. A default message handler calculates the time elapsed between when the trailing tag message was queued and when the trailing tag message was processed. The elapsed time may then be used to calculated system responsiveness.
申请公布号 US8856804(B2) 申请公布日期 2014.10.07
申请号 US200812028707 申请日期 2008.02.08
申请人 Microsoft Corporation 发明人 Hagiu Costin;Schmieder Wilhelm R.;Hera Gabriel
分类号 G06F9/44;G06F9/54;G06F11/34;G06F9/00;H04L29/08 主分类号 G06F9/44
代理机构 代理人 Sfekas Jim;Drakos Kate;Minhas Micky
主权项 1. A method comprising: receiving a message; storing the message in a message queue; receiving, into the message queue and at least partly in response to storing the message in the message queue, a trailing tag message associated with the stored message, the trailing tag message comprising a time stamp that indicates a time when the trailing tag message was received and being queued at a position in the message queue after the message; processing the message at a first message handler; determining that the trailing tag message is a particular type of message; processing, at least partly in response to determining that the trailing tag message is the particular type of message, the trailing tag message at a second message handler designated to process the particular type of message; and calculating a time period between receiving the trailing tag message and processing the trailing tag message based at least in part on the time stamp of the trailing tag message, the calculated time period indicating an approximated elapsed time between receiving the message and processing the message.
地址 Redmond WA US