Measurement and reporting of performance event rates
AssigneeMicrosoft Corporation
InventorsHazim Shafi, Khaled S. Sedky
Life of this patent
Estimating the term…
Abstract
Methods and systems are disclosed for measuring performance event rates at a computer and reporting the performance event rates using timelines. A particular method tracks, for a time period, the occurrences of a particular event at a computer. Event rates corresponding to different time segments within the time period are calculated, and the time segments are assigned colors based on their associated event rates. The event rates are used to display a colored timeline for the time period, including displaying a colored timeline portion for each time segment in its associated color.
Claims20
A method executable by a processor comprising:
- tracking, for a time period, each occurrence of an event occurring during execution at a computer, wherein the time period includes a plurality of time segments;
- calculating an event rate for each time segment, each event rate based on a time difference between two consecutive time segments and based on a number of tracked occurrences of the event for a corresponding time segment of the plurality of time segments;
- assigning a color palette to a range of event rates, the range of event rates based on the calculated event rates;
- associating each time segment with a color of the color palette, wherein the color is determined based on the event rate corresponding to the time segment;
- and
- displaying a colored timeline corresponding to the time period, the colored timeline including a plurality of color displays corresponding to the plurality of time segments, each color display of the plurality of color displays corresponding to a particular time segment of the plurality of time segments and presented in the color associated with the particular time segment.
A method executable by a processor comprising:
- receiving sample data for a thread executing on a multi-threaded computer, wherein the sample data is related to a performance event of the multi-threaded computer, wherein the sample data includes a plurality of samples, wherein each sample of the plurality of samples indicates a number of occurrences of the performance event during execution of the thread during a time period, and wherein each sample has an associated timestamp;
- calculating a plurality of time differences from the sample data, wherein each time difference is a time difference between two consecutive samples of the plurality of samples;
- calculating a plurality of performance event rates based on the plurality of time differences;
- determining a range of the plurality of performance event rates;
- assigning a color spectrum to the range of the plurality of performance event rates;
- generating a colored timeline display corresponding to the time period, the colored timeline display based on the plurality of performance event rates and the color spectrum;
- and
- displaying the colored timeline display at a display device.
A computer readable storage memory device including instructions executable by a computer to:
- receive sample data, the sample data related to a performance event of the computer, wherein the sample data includes a plurality of samples, wherein each sample of the plurality of samples indicates a number of occurrences of the performance event during execution of the computer during a time period, and wherein each sample has an associated timestamp;
- calculate a plurality of time differences from the sample data, wherein each time difference is a time difference between two consecutive samples of the plurality of samples;
- calculate a plurality of performance event rates based on the plurality of time differences;
- determine a range of the plurality of performance event rates;
- assign a color spectrum to the range of the plurality of performance event rates;
- generate a colored timeline display corresponding to the time period, the colored timeline display based on the plurality of performance event rates and the color spectrum;
- and
- display the colored timeline display at a display device.
Dependencies are inferred from the claim text.