Invention Grant
- Patent Title: Determining an actual amount of time a processor consumes in executing a portion of code
- Patent Title (中): 确定处理器在执行代码部分时消耗的实际时间
-
Application No.: US11082398Application Date: 2005-03-17
-
Publication No.: US07774784B2Publication Date: 2010-08-10
- Inventor: Mahlon David Fields , Richard T. Wurdack , Steven M. Carroll , Barry M. Nolte
- Applicant: Mahlon David Fields , Richard T. Wurdack , Steven M. Carroll , Barry M. Nolte
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Wolf, Greenfield & Sacks, P.C.
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F9/44 ; G06F11/00

Abstract:
Systems and methods are provided that determine the actual amount of time a processor consumes in executing a code portion. The actual execution time of a code portion may be accurately determined by taking into consideration context switches and/or overhead time corresponding to the code portion. Determining the actual execution time of a code portion may include recording context switches and time values that occur during the execution of the code portion. This information along with overhead measurements may be used to generate the actual execution time of a code portion, as will be described in more detail below. For example, the switched-out intervals resulting from the context switches and the overhead time associated with the time measurements may be subtracted from the elapsed time to produce the actual execution time of a code portion.
Public/Granted literature
- US20060212867A1 Determining an actual amount of time a processor consumes in executing a portion of code Public/Granted day:2006-09-21
Information query