<?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>Slightly Advanced Computer Stuff (and some magic)</description>
	<lastBuildDate>Thu, 18 Mar 2010 23:40:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rob</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-1/#comment-33864</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Tue, 02 Mar 2010 20:13:32 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-33864</guid>
		<description>Hi White Shadow,

You are amazing, i was struggling for 4 hrs now. Now i see new code and it has a whole new tweaks. It will really help me to learn delphi much better.

Thanks again.

All this effort is to get my site up with some widget marketing. I will donate $12 for now, but will PROMISE to donate atleast $100 after i get this months payment. You really saved 4 days of work, and i should really pay you back! 

Rob</description>
		<content:encoded><![CDATA[<p>Hi White Shadow,</p>
<p>You are amazing, i was struggling for 4 hrs now. Now i see new code and it has a whole new tweaks. It will really help me to learn delphi much better.</p>
<p>Thanks again.</p>
<p>All this effort is to get my site up with some widget marketing. I will donate $12 for now, but will PROMISE to donate atleast $100 after i get this months payment. You really saved 4 days of work, and i should really pay you back! </p>
<p>Rob</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-1/#comment-33863</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Tue, 02 Mar 2010 20:07:01 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-33863</guid>
		<description>&lt;a href=&quot;http://w-shadow.com/files/CoreUsage-d7.rar&quot; rel=&quot;nofollow&quot;&gt;Here&#039;s a Delphi 7 version&lt;/a&gt; of the app. It compiles &amp; works fine on my D7 / WinXP machine. 

Note: You will need the &lt;a href=&quot;http://jedi-apilib.sourceforge.net/&quot; rel=&quot;nofollow&quot;&gt;Jedi API library&lt;/a&gt;. The TGauge component is defined in the Gauges.pas file located in the /Source/Samples/ subdirectory of your D7 install.</description>
		<content:encoded><![CDATA[<p><a href="http://w-shadow.com/files/CoreUsage-d7.rar" rel="nofollow">Here&#8217;s a Delphi 7 version</a> of the app. It compiles &#038; works fine on my D7 / WinXP machine. </p>
<p>Note: You will need the <a href="http://jedi-apilib.sourceforge.net/" rel="nofollow">Jedi API library</a>. The TGauge component is defined in the Gauges.pas file located in the /Source/Samples/ subdirectory of your D7 install.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-1/#comment-33855</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Tue, 02 Mar 2010 16:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-33855</guid>
		<description>ok, i made the tweaks to run this on delphi 7 and it works to an extent. It only fetches total cpu usage. Then i used breakpoints to study where the problem was. Apparently it has to be in the InstanceId value. It did not show me &#039;_total&#039; it showed me &#039;0&#039;. So i made the if command to check is InstanceId = &#039;0&#039;. Now it throws the &quot;Initialization was unsuccessful&quot; Error, the same one Welton got. But im on Xp. So that was not a vista thing. If the InstanceID = &#039;_total&#039; remains, then only total cpu shows, because it skips the individual thing altogether :( I am digging this further, i got to get it done finally, for my free widget that im doing for 5 days now. And oh yeah, i only started learning delphi since 5 days, so i got delphi 7 SE :S i should paid for 2009 instead ;) LOL Anything thanks for the code, the debugger shows me that it scrapped the thread correctly, now i need to write my own munging code :S 

Rob, Esh and Sam at optimize-your-pc.org</description>
		<content:encoded><![CDATA[<p>ok, i made the tweaks to run this on delphi 7 and it works to an extent. It only fetches total cpu usage. Then i used breakpoints to study where the problem was. Apparently it has to be in the InstanceId value. It did not show me &#8216;_total&#8217; it showed me &#8216;0&#8242;. So i made the if command to check is InstanceId = &#8216;0&#8242;. Now it throws the &#8220;Initialization was unsuccessful&#8221; Error, the same one Welton got. But im on Xp. So that was not a vista thing. If the InstanceID = &#8216;_total&#8217; remains, then only total cpu shows, because it skips the individual thing altogether <img src='http://w-shadow.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  I am digging this further, i got to get it done finally, for my free widget that im doing for 5 days now. And oh yeah, i only started learning delphi since 5 days, so i got delphi 7 SE :S i should paid for 2009 instead <img src='http://w-shadow.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  LOL Anything thanks for the code, the debugger shows me that it scrapped the thread correctly, now i need to write my own munging code :S </p>
<p>Rob, Esh and Sam at optimize-your-pc.org</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-1/#comment-33854</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Tue, 02 Mar 2010 14:05:57 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-33854</guid>
		<description>Btw, im doing a widget for the site that is listed. Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Btw, im doing a widget for the site that is listed. Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rob</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-1/#comment-33853</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Tue, 02 Mar 2010 14:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-33853</guid>
		<description>Hi White Shadow,

Thanks for this program, how i can i tweak it to run in delphi 7. I get the incompatibility errors :( i manage to do it all, but 2. string to char :( Can you release a delphi 7 version with progress bar that are on the form, instead of creating it at the runtime. Say you put 4 progress bars, if the cpu is quadcore, you get all 4 bars working. if the processor is tricore, then 3 bars get their width adjusted and 4th is removed. Same for dual core. If you can please do that above in delphi 7. I can donate some $ to your blog. Thanks

Rob</description>
		<content:encoded><![CDATA[<p>Hi White Shadow,</p>
<p>Thanks for this program, how i can i tweak it to run in delphi 7. I get the incompatibility errors <img src='http://w-shadow.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  i manage to do it all, but 2. string to char <img src='http://w-shadow.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  Can you release a delphi 7 version with progress bar that are on the form, instead of creating it at the runtime. Say you put 4 progress bars, if the cpu is quadcore, you get all 4 bars working. if the processor is tricore, then 3 bars get their width adjusted and 4th is removed. Same for dual core. If you can please do that above in delphi 7. I can donate some $ to your blog. Thanks</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: welton</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-1/#comment-32857</link>
		<dc:creator>welton</dc:creator>
		<pubDate>Thu, 10 Dec 2009 21:39:17 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-32857</guid>
		<description>OK, thanks.  It is the english version of Vista.  I&#039;ll have to keep hunting for the performance counter paths.  You&#039;d think they&#039;d be listed on MSDN or something, but I can&#039;t seem to find a list anywhere.

Welton</description>
		<content:encoded><![CDATA[<p>OK, thanks.  It is the english version of Vista.  I&#8217;ll have to keep hunting for the performance counter paths.  You&#8217;d think they&#8217;d be listed on MSDN or something, but I can&#8217;t seem to find a list anywhere.</p>
<p>Welton</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-1/#comment-32854</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Thu, 10 Dec 2009 19:33:26 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-32854</guid>
		<description>Are you using a localized version of Windows? The performance counters can have different names on non-english systems, which would cause the program to fail in this manner.

If that&#039;s not it, it&#039;s probably some Vista thing instead. And I can&#039;t help with that as I don&#039;t have Vista.</description>
		<content:encoded><![CDATA[<p>Are you using a localized version of Windows? The performance counters can have different names on non-english systems, which would cause the program to fail in this manner.</p>
<p>If that&#8217;s not it, it&#8217;s probably some Vista thing instead. And I can&#8217;t help with that as I don&#8217;t have Vista.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: welton</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-1/#comment-32849</link>
		<dc:creator>welton</dc:creator>
		<pubDate>Thu, 10 Dec 2009 17:10:46 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-32849</guid>
		<description>I am using Delphi 7 on Windows Vista.  I have made minor tweaks to your code to get it to compile under Delphi 7, but the program fails to initialize.  It fails the status = PDH_MORE_DATA check.  I have also downloaded the compiled example application, but I still get the same &#039;Initialization was unsuccessful&#039; error from your compiled version.

Any ideas?

Thanks,
   Welton</description>
		<content:encoded><![CDATA[<p>I am using Delphi 7 on Windows Vista.  I have made minor tweaks to your code to get it to compile under Delphi 7, but the program fails to initialize.  It fails the status = PDH_MORE_DATA check.  I have also downloaded the compiled example application, but I still get the same &#8216;Initialization was unsuccessful&#8217; error from your compiled version.</p>
<p>Any ideas?</p>
<p>Thanks,<br />
   Welton</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cleber</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-1/#comment-32339</link>
		<dc:creator>Cleber</dc:creator>
		<pubDate>Tue, 10 Nov 2009 06:09:17 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-32339</guid>
		<description>Duriel, run perfmon.exe to discover the translation used by MS</description>
		<content:encoded><![CDATA[<p>Duriel, run perfmon.exe to discover the translation used by MS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-1/#comment-31112</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 10 Aug 2009 21:15:41 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-31112</guid>
		<description>Okay :) Thank you very much for your time and help :D

Michael</description>
		<content:encoded><![CDATA[<p>Okay <img src='http://w-shadow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thank you very much for your time and help <img src='http://w-shadow.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Michael</p>
]]></content:encoded>
	</item>
</channel>
</rss>
