<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How To Get Per-Core CPU Usage</title>
	<atom:link href="http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/feed/" rel="self" type="application/rss+xml" />
	<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/</link>
	<description>A blog about web development, software business, and WordPress</description>
	<lastBuildDate>Tue, 22 May 2012 04:00:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Jānis Elsts</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-2/#comment-199763</link>
		<dc:creator>Jānis Elsts</dc:creator>
		<pubDate>Tue, 24 Apr 2012 17:10:59 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-199763</guid>
		<description>No, I don&#039;t think so.</description>
		<content:encoded><![CDATA[<p>No, I don&#8217;t think so.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RASOLOFONIAINA Menjanahary R.</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-2/#comment-199755</link>
		<dc:creator>RASOLOFONIAINA Menjanahary R.</dc:creator>
		<pubDate>Tue, 24 Apr 2012 13:19:15 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-199755</guid>
		<description>I mean the windows 7 x64 issue.</description>
		<content:encoded><![CDATA[<p>I mean the windows 7 x64 issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RASOLOFONIAINA Menjanahary R.</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-2/#comment-199754</link>
		<dc:creator>RASOLOFONIAINA Menjanahary R.</dc:creator>
		<pubDate>Tue, 24 Apr 2012 13:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-199754</guid>
		<description>Was the Windows 7 x64 fixed?</description>
		<content:encoded><![CDATA[<p>Was the Windows 7 x64 fixed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: White Shadow</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-2/#comment-165857</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Thu, 03 Feb 2011 18:10:16 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-165857</guid>
		<description>&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms681382(v=vs.85).aspx&quot; rel=&quot;nofollow&quot;&gt;According to MSDN&lt;/a&gt;, zero equals ERROR_SUCCESS. And according to &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa372606(v=vs.85).aspx&quot; rel=&quot;nofollow&quot;&gt;another page on MSDN&lt;/a&gt;, that means the function executed successfully, i.e. no error.</description>
		<content:encoded><![CDATA[<p><a href="http://msdn.microsoft.com/en-us/library/ms681382(v=vs.85).aspx" rel="nofollow">According to MSDN</a>, zero equals ERROR_SUCCESS. And according to <a href="http://msdn.microsoft.com/en-us/library/aa372606(v=vs.85).aspx" rel="nofollow">another page on MSDN</a>, that means the function executed successfully, i.e. no error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-2/#comment-165856</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 03 Feb 2011 18:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-165856</guid>
		<description>Actually the problem is here 

[...]
status := PdhExpandWildCardPath(
      nil,                                  //search the local computer
      &#039;\Processor(*/*#*)\% Processor Time&#039;, //we want CPU usage counters for all CPUs/cores
      pPaths,                               //user-allocated buffer; currently null
      dwSize,                               //buffer size
      0) ;                                  //no flags
 
    if status = PDH_MORE_DATA then begin
[...]

the value of status is zero.
Any ideas why?</description>
		<content:encoded><![CDATA[<p>Actually the problem is here </p>
<p>[...]<br />
status := PdhExpandWildCardPath(<br />
      nil,                                  //search the local computer<br />
      &#8216;\Processor(*/*#*)\% Processor Time&#8217;, //we want CPU usage counters for all CPUs/cores<br />
      pPaths,                               //user-allocated buffer; currently null<br />
      dwSize,                               //buffer size<br />
      0) ;                                  //no flags</p>
<p>    if status = PDH_MORE_DATA then begin<br />
[...]</p>
<p>the value of status is zero.<br />
Any ideas why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: White Shadow</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-2/#comment-117568</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Wed, 03 Nov 2010 08:56:20 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-117568</guid>
		<description>Unfortunately, I don&#039;t have Delphi installed right now, so I can&#039;t check what goes wrong in Windows 7.</description>
		<content:encoded><![CDATA[<p>Unfortunately, I don&#8217;t have Delphi installed right now, so I can&#8217;t check what goes wrong in Windows 7.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dorin Duminica</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-2/#comment-117564</link>
		<dc:creator>Dorin Duminica</dc:creator>
		<pubDate>Wed, 03 Nov 2010 08:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-117564</guid>
		<description>yes, BUT still, windows 7 x64 is capable of running 32 bit applications... I have tested it in a VM with Windows Xp sp 3 32 bit version running and it works perfectly...</description>
		<content:encoded><![CDATA[<p>yes, BUT still, windows 7 x64 is capable of running 32 bit applications&#8230; I have tested it in a VM with Windows Xp sp 3 32 bit version running and it works perfectly&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: White Shadow</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-2/#comment-117561</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Wed, 03 Nov 2010 08:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-117561</guid>
		<description>Considering that it was compiled on Windows XP 32bit, I&#039;m not the least bit surprised. The general algorithm should still be valid for Windows 7, though.</description>
		<content:encoded><![CDATA[<p>Considering that it was compiled on Windows XP 32bit, I&#8217;m not the least bit surprised. The general algorithm should still be valid for Windows 7, though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dorin Duminica</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-2/#comment-117447</link>
		<dc:creator>Dorin Duminica</dc:creator>
		<pubDate>Wed, 03 Nov 2010 03:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-117447</guid>
		<description>I&#039;ve downloaded the compiled demo application and it fails to initialize on Windows 7 Ultimate 64 bit.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve downloaded the compiled demo application and it fails to initialize on Windows 7 Ultimate 64 bit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-2/#comment-99211</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sun, 03 Oct 2010 17:37:08 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-99211</guid>
		<description>[...] gefunden der eine ganz nette Sache beschreibt. Und zwar das Auslesen der CPU Last pro Core.  http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/  Funktioniert super - solange man ein englisches System nutzt.  Denn die Performance Counter werden [...]</description>
		<content:encoded><![CDATA[<p>[...] gefunden der eine ganz nette Sache beschreibt. Und zwar das Auslesen der CPU Last pro Core.  <a href="http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/" rel="nofollow">http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/</a>  Funktioniert super &#8211; solange man ein englisches System nutzt.  Denn die Performance Counter werden [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

