<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Wait Time == Blocking Time? in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Wait-Time-Blocking-Time/m-p/964120#M8944</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Jim:&lt;/P&gt;
&lt;P&gt;One important note about wait time in the VTune analyzer -check out this online help definition of Self-wait Time:&lt;/P&gt;
&lt;BLOCKQUOTE dir="ltr" style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;EM&gt;The call graph calculation of the Self_Wait_Time is based on a heuristic estimation that tracks context switches caused by synchronization events and by other causes. &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Note: Windows* 2000 multi-processors support the exact Wait time information collection. &lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;DIV&gt;This may help explain what you are seeing.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;-dlanders&lt;/DIV&gt;</description>
    <pubDate>Thu, 08 Apr 2004 03:17:32 GMT</pubDate>
    <dc:creator>Anonymous24</dc:creator>
    <dc:date>2004-04-08T03:17:32Z</dc:date>
    <item>
      <title>Wait Time == Blocking Time?</title>
      <link>https://community.intel.com/t5/Analyzers/Wait-Time-Blocking-Time/m-p/964119#M8943</link>
      <description>&lt;DIV&gt;This is how I interpreted it, as the VTune docs specify wait time as the time the thread was suspended.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;2 Things that cause me to question it are that on recent profiles I'm getting lots of wait time in the Windows ::LeaveCriticalSection call, which shouldn't block (it's releasing a synchronisation object, not waiting to obtain it) and that I'm getting different total times for different threads, even though all threads are running the entire test.&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Apr 2004 16:33:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Wait-Time-Blocking-Time/m-p/964119#M8943</guid>
      <dc:creator>jimpurbrick</dc:creator>
      <dc:date>2004-04-07T16:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Wait Time == Blocking Time?</title>
      <link>https://community.intel.com/t5/Analyzers/Wait-Time-Blocking-Time/m-p/964120#M8944</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Jim:&lt;/P&gt;
&lt;P&gt;One important note about wait time in the VTune analyzer -check out this online help definition of Self-wait Time:&lt;/P&gt;
&lt;BLOCKQUOTE dir="ltr" style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;EM&gt;The call graph calculation of the Self_Wait_Time is based on a heuristic estimation that tracks context switches caused by synchronization events and by other causes. &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Note: Windows* 2000 multi-processors support the exact Wait time information collection. &lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;DIV&gt;This may help explain what you are seeing.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;-dlanders&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Apr 2004 03:17:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Wait-Time-Blocking-Time/m-p/964120#M8944</guid>
      <dc:creator>Anonymous24</dc:creator>
      <dc:date>2004-04-08T03:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Wait Time == Blocking Time?</title>
      <link>https://community.intel.com/t5/Analyzers/Wait-Time-Blocking-Time/m-p/964121#M8945</link>
      <description>&lt;DIV&gt;Thanks.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;What this seems to say is that VTune can't tell the difference between blocking and context switching due to scheduling, so while Wait Time should equal blocking time it includes some guess work.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;It doesn't explain why I only get wait time on some calls that should be blocking though.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;How much can I trust VTune?&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Apr 2004 21:30:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Wait-Time-Blocking-Time/m-p/964121#M8945</guid>
      <dc:creator>jimpurbrick</dc:creator>
      <dc:date>2004-04-08T21:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Wait Time == Blocking Time?</title>
      <link>https://community.intel.com/t5/Analyzers/Wait-Time-Blocking-Time/m-p/964122#M8946</link>
      <description>&lt;P&gt;You probably can't trust it to give you exact timing information, however, the timing information will be relatively correct. That is, the timing numbers for all functions will be representative of the impact, so that call graph will identify which functions are costing the most time. This can point you to where you should focus your optimization efforts.&lt;/P&gt;
&lt;P&gt;Just my opinion, :-}&lt;BR /&gt;dlanders&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Apr 2004 05:58:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Wait-Time-Blocking-Time/m-p/964122#M8946</guid>
      <dc:creator>Anonymous24</dc:creator>
      <dc:date>2004-04-09T05:58:58Z</dc:date>
    </item>
  </channel>
</rss>

