<?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: Event Counters Programming Help in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Event-Counters-Programming-Help/m-p/947412#M7907</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Hi!&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks for posting this question!&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;The only documentation I know of is "Volume 3: System's Programming Guide" of the &lt;EM&gt;IA-32 Intel Architecture Software Developer's Manual&lt;/EM&gt;, downloadable from &lt;A href="http://www.intel.com/design/pentium4/manuals/253668.htm" target="_blank"&gt;here&lt;/A&gt; (see links near bottom of page). See the chapter "Debugging and Performance Monitoring", starting with section 14.8 (in the printed book) "Performance Monitoring Overview". I don't actually know if there is enough information to program the registers there, but there is information about it.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;From what I know of the registers, even though there are 18 registers on some processors, only certain events can be programmed in certain registers, which basically limits how many events you can collect at once. The VTune analyzer uses an allocation algorithm to collect as many events at once as possible, running the activity multiple times to collect all of the events.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Best Regards,&lt;/DIV&gt;&lt;P&gt;Message Edited by DaveA on &lt;SPAN class="date_text"&gt;08-02-2004&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;03:30 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Aug 2004 05:21:15 GMT</pubDate>
    <dc:creator>David_A_Intel1</dc:creator>
    <dc:date>2004-08-03T05:21:15Z</dc:date>
    <item>
      <title>Event Counters Programming Help</title>
      <link>https://community.intel.com/t5/Analyzers/Event-Counters-Programming-Help/m-p/947411#M7906</link>
      <description>&lt;DIV&gt;Hi All,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt; This is my first post in the group, please ignore if I have used any wrong terminology.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I am trying to build a device driver where in I can access all the 18 performance counters of the Intel Pentium 4 processor and display the results. I would like to know if its feasible and from what I have read, it says that 18 counters work in pairs. Does that mean we have only 9 results ? &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Can you please suggest me some gud links on ways to access these counters and details of their funtionality.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thank You in advance.&lt;/DIV&gt;
&lt;DIV&gt;Subhani.&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Jul 2004 21:40:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Event-Counters-Programming-Help/m-p/947411#M7906</guid>
      <dc:creator>sksubhani</dc:creator>
      <dc:date>2004-07-22T21:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Event Counters Programming Help</title>
      <link>https://community.intel.com/t5/Analyzers/Event-Counters-Programming-Help/m-p/947412#M7907</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Hi!&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks for posting this question!&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;The only documentation I know of is "Volume 3: System's Programming Guide" of the &lt;EM&gt;IA-32 Intel Architecture Software Developer's Manual&lt;/EM&gt;, downloadable from &lt;A href="http://www.intel.com/design/pentium4/manuals/253668.htm" target="_blank"&gt;here&lt;/A&gt; (see links near bottom of page). See the chapter "Debugging and Performance Monitoring", starting with section 14.8 (in the printed book) "Performance Monitoring Overview". I don't actually know if there is enough information to program the registers there, but there is information about it.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;From what I know of the registers, even though there are 18 registers on some processors, only certain events can be programmed in certain registers, which basically limits how many events you can collect at once. The VTune analyzer uses an allocation algorithm to collect as many events at once as possible, running the activity multiple times to collect all of the events.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Best Regards,&lt;/DIV&gt;&lt;P&gt;Message Edited by DaveA on &lt;SPAN class="date_text"&gt;08-02-2004&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;03:30 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2004 05:21:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Event-Counters-Programming-Help/m-p/947412#M7907</guid>
      <dc:creator>David_A_Intel1</dc:creator>
      <dc:date>2004-08-03T05:21:15Z</dc:date>
    </item>
  </channel>
</rss>

