<?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:Getting no. of PCIe reads to LLC (PCIeRdCur) inside my c++ program in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Getting-no-of-PCIe-reads-to-LLC-PCIeRdCur-inside-my-c-program/m-p/1539454#M8239</link>
    <description>&lt;P&gt;Beatrice, unfortunately we were unable to hear back from you.&amp;nbsp;If you have any further query, please post a new question as this thread will no longer be monitored by Intel®.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 01 Nov 2023 14:20:33 GMT</pubDate>
    <dc:creator>shivani_intel</dc:creator>
    <dc:date>2023-11-01T14:20:33Z</dc:date>
    <item>
      <title>Getting no. of PCIe reads to LLC (PCIeRdCur) inside my c++ program</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Getting-no-of-PCIe-reads-to-LLC-PCIeRdCur-inside-my-c-program/m-p/1535682#M8233</link>
      <description>&lt;P&gt;I want to get PCIRdCur (no. of reads to LLC) in my .cpp file, so what I did was using programPCIeEventGroup() and passed to it a vector of events that I want to monitor, more specifically PCIRdCur_miss (uint_64 of {0x00043c33}) and PCIRdCur_hit (uint_64 of {0x00043c37}).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1- First of all, is that the correct way to determine which events to monitor? And given that my CPU's microarchitecture is cascaded lake (CLX), can I program more than 1 event to monitor? The reason I am asking is that I found inside CPUCounters.cpp the following sentence: "//JKT through СLX generations allow programming only one required event at a time"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then, I called getPCIeCounterData(socket_no, ctr). The thing is that I am not sure what to specify as ctr. My understanding is that ctr ranges from 0 to 3 (otherwise, it gives segmentation fault).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2- The question is if the 0-3 range of the ctr variable corresponds to (0)PCIRdCur(RFO/CRd/DRd), and (1)ItoM, and (2)PRd, and (3)WiL, respectively. The reason I guessed so is because in pcm-pcie.h, it loops from ctr = 0 to ctr = eventGroup.size(), so I assumed ctr is used to represent these events. Is this right?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3- If that is the case, why does getPCIeCounterData function still displays values when ctr = 1 (monitoring ItoM) while I have already programmed the event group to only monitor PCIRdCur?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4- Finally, why does the output given by&amp;nbsp;getPCIeCounterData never match the PCIRdCur column when I run pcm-pcie command from that terminal? I understand that they are not printed exactly at the same exact time (I ran my c++ that keeps printing &amp;nbsp;getPCIeCounterData (0, 0) while(true) and then I ran pcm-pcie) but I assume they should display similar order of magnitude.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 23:33:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Getting-no-of-PCIe-reads-to-LLC-PCIeRdCur-inside-my-c-program/m-p/1535682#M8233</guid>
      <dc:creator>Berry_sh</dc:creator>
      <dc:date>2023-10-19T23:33:21Z</dc:date>
    </item>
    <item>
      <title>Re:Getting no. of PCIe reads to LLC (PCIeRdCur) inside my c++ program</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Getting-no-of-PCIe-reads-to-LLC-PCIeRdCur-inside-my-c-program/m-p/1535954#M8234</link>
      <description>&lt;P&gt;Dear Berry_sh,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for your post on the Intel® communities. We appreciate your engagement, and we are here to provide assistance with your concern.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Based on the nature of your issue, it appears you are involved in software development. Our dedicated team will promptly review your inquiry and respond accordingly.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Isaac Q.&lt;/P&gt;&lt;P&gt;Intel Customer Support Technician&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Oct 2023 18:03:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Getting-no-of-PCIe-reads-to-LLC-PCIeRdCur-inside-my-c-program/m-p/1535954#M8234</guid>
      <dc:creator>IsaacQ_Intel</dc:creator>
      <dc:date>2023-10-20T18:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting no. of PCIe reads to LLC (PCIeRdCur) inside my c++ program</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Getting-no-of-PCIe-reads-to-LLC-PCIeRdCur-inside-my-c-program/m-p/1536480#M8235</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Is someone still looking into the issue?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 18:24:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Getting-no-of-PCIe-reads-to-LLC-PCIeRdCur-inside-my-c-program/m-p/1536480#M8235</guid>
      <dc:creator>Berry_sh</dc:creator>
      <dc:date>2023-10-23T18:24:10Z</dc:date>
    </item>
    <item>
      <title>Re:Getting no. of PCIe reads to LLC (PCIeRdCur) inside my c++ program</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Getting-no-of-PCIe-reads-to-LLC-PCIeRdCur-inside-my-c-program/m-p/1537795#M8237</link>
      <description>&lt;P&gt;Hi! Thank you for posting your query. Could you let us know if you are using any Intel Compiler/Intel Software to run the program? We will be happy to investigate your queries.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Oct 2023 22:54:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Getting-no-of-PCIe-reads-to-LLC-PCIeRdCur-inside-my-c-program/m-p/1537795#M8237</guid>
      <dc:creator>shivani_intel</dc:creator>
      <dc:date>2023-10-26T22:54:21Z</dc:date>
    </item>
    <item>
      <title>Re:Getting no. of PCIe reads to LLC (PCIeRdCur) inside my c++ program</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Getting-no-of-PCIe-reads-to-LLC-PCIeRdCur-inside-my-c-program/m-p/1539454#M8239</link>
      <description>&lt;P&gt;Beatrice, unfortunately we were unable to hear back from you.&amp;nbsp;If you have any further query, please post a new question as this thread will no longer be monitored by Intel®.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Nov 2023 14:20:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Getting-no-of-PCIe-reads-to-LLC-PCIeRdCur-inside-my-c-program/m-p/1539454#M8239</guid>
      <dc:creator>shivani_intel</dc:creator>
      <dc:date>2023-11-01T14:20:33Z</dc:date>
    </item>
  </channel>
</rss>

