locked
Question about TimeStamp of the CPU sampling summary table RRS feed

  • Question

  • For the Windows Performance Analyzer(xperfview.exe), what’s the TimeStamp of the CPU sampling summary table? And in which time unit?

     

    Thanks.


    • Moved by Jesse Jiang Friday, August 12, 2011 2:26 AM (From:Visual C++ General)
    Wednesday, August 10, 2011 9:51 PM

Answers

All replies

  • How is this related to Visual C++? Surely there is a better forum for this question.
    Thursday, August 11, 2011 2:58 AM
  • Hi Feng,

     

    Based on this To See How Much Time the CPU Spent at Each P-state document, I think the time-axis scale units is ms. Based on the second picture in that document, we can see that it summary time from 0 to 72.526. It is approximately equal the first picture max value. Therefore I think the unit is ms.

     

    @Brian, thanks for your reminding, but I could not find a suitable forum, so I think we can try to find the answer not move it.

     

    Best regards,

    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, August 11, 2011 6:38 AM
  • I can not believe that xperfview.exe does not have online help for what it is showing! According to http://msdn.microsoft.com/en-us/library/ff190966(v=VS.85).aspx, I think TimeStamp is the time stamp in second.

    Thursday, August 11, 2011 3:35 PM
  • Hi Feng,

     

    Maybe you are correct. I found the Windows Performance Toolkit in MSND forum, and I will help you to move this one to that forum.

     

    Thanks for your understanding,

     

    Best regards,

    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Feng Xu Friday, August 12, 2011 11:21 PM
    Friday, August 12, 2011 2:25 AM
  • Hi,

    the timestamp is explained in the online help from WPT.

    This is part of analyzing which sessions are used.
    I just copy paste this section...I hope this is ok :$.

    Clock Type
    Each logging session can use one of three different clocks to provide Event Timestamps. The primary difference between the three is in resolution and expense to retrieve.The three types are Cycle (CPU Cycle Resolution), PerfCounter (Performance Frequency resolution, which could be 100 nanosecond or better), SystemTime (10 millisecond resolution). If you intend to merge multiple logs the same clock must be used for all logs. Currently, PerfCounter is the default clock type for Vista and later operating systems; SystemTime was the default in pre-Vista operating systems. We strongly recommend all performance traces are taken with PerfCounter.

    BR

     

    Tuesday, August 23, 2011 10:24 PM