<?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>Sat, 21 Nov 2009 04:22:17 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>By: White Shadow</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-1/#comment-31109</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Mon, 10 Aug 2009 19:31:32 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-31109</guid>
		<description>I&#039;m not all that experienced with this API, so you&#039;d better read the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa373083(VS.85).aspx&quot; rel=&quot;nofollow&quot;&gt;performance counter documentation&lt;/a&gt; for things like that ;) Most of the C/C++ examples and docs apply equally well to Delphi (with minor differences in syntax).</description>
		<content:encoded><![CDATA[<p>I&#8217;m not all that experienced with this API, so you&#8217;d better read the <a href="http://msdn.microsoft.com/en-us/library/aa373083(VS.85).aspx" rel="nofollow">performance counter documentation</a> for things like that <img src='http://w-shadow.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Most of the C/C++ examples and docs apply equally well to Delphi (with minor differences in syntax).</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-31105</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 10 Aug 2009 14:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-31105</guid>
		<description>Hi,

Thank you so much! I just needed to add JwaPdh and JwaPdhMsg, and it worked beautifully!

This topic (performance counters in Delphi) is really really small on the Internet - the only Delphi code example available, that does not use the HKEY_PERFORMANCE_DATA, is yours! And your piece of code absolutely rocks!

If I want to add another performance counter to the query (for example disk activity or similar), how should I go about adding it?
Should I make the wildcard search broader or how should I approach adding more counters to the code?

Best regards,
Michael

Your website rocks!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thank you so much! I just needed to add JwaPdh and JwaPdhMsg, and it worked beautifully!</p>
<p>This topic (performance counters in Delphi) is really really small on the Internet &#8211; the only Delphi code example available, that does not use the HKEY_PERFORMANCE_DATA, is yours! And your piece of code absolutely rocks!</p>
<p>If I want to add another performance counter to the query (for example disk activity or similar), how should I go about adding it?<br />
Should I make the wildcard search broader or how should I approach adding more counters to the code?</p>
<p>Best regards,<br />
Michael</p>
<p>Your website rocks!</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-31102</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Mon, 10 Aug 2009 10:45:57 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-31102</guid>
		<description>That file seems to be a part of the core install in D2009 and I don&#039;t know if you can download it anywhere. Maybe you need to enable it separately when installing D2005?

You could also try using just the necessary sub-units (e.g. JwaPdh in this case) instead of the entire JwaWindows library.</description>
		<content:encoded><![CDATA[<p>That file seems to be a part of the core install in D2009 and I don&#8217;t know if you can download it anywhere. Maybe you need to enable it separately when installing D2005?</p>
<p>You could also try using just the necessary sub-units (e.g. JwaPdh in this case) instead of the entire JwaWindows library.</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-31100</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 10 Aug 2009 07:24:19 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-31100</guid>
		<description>Hi

Thank you so much for this article! It is seriously the best Delphi article about performance counters on the Internet!

However, when my delphi (2005) tries to compile JwaWindows, it says that I do not have msxml.dcu:
[Fatal Error] JwaWindows.pas(213): F1026 File not found: &#039;msxml.dcu&#039;

I have tried searching for it online, but I can&#039;t seem to find it.

Can you help me? :)

Best regards,
Michael</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Thank you so much for this article! It is seriously the best Delphi article about performance counters on the Internet!</p>
<p>However, when my delphi (2005) tries to compile JwaWindows, it says that I do not have msxml.dcu:<br />
[Fatal Error] JwaWindows.pas(213): F1026 File not found: &#8216;msxml.dcu&#8217;</p>
<p>I have tried searching for it online, but I can&#8217;t seem to find it.</p>
<p>Can you help me? <img src='http://w-shadow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Best regards,<br />
Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: duriel</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-1/#comment-31066</link>
		<dc:creator>duriel</dc:creator>
		<pubDate>Thu, 06 Aug 2009 19:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-31066</guid>
		<description>Ok, but thanks for your efforts and the Information about pdh.dll :)</description>
		<content:encoded><![CDATA[<p>Ok, but thanks for your efforts and the Information about pdh.dll <img src='http://w-shadow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </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-31065</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Thu, 06 Aug 2009 19:20:33 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-31065</guid>
		<description>Unfortunately not. I tried to find some kind of language-independent algorithm for constructing the pattern when I wrote the above application, but (if I recall correctly) nothing useful came up.</description>
		<content:encoded><![CDATA[<p>Unfortunately not. I tried to find some kind of language-independent algorithm for constructing the pattern when I wrote the above application, but (if I recall correctly) nothing useful came up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: duriel</title>
		<link>http://w-shadow.com/blog/2009/04/17/per-core-cpu-usage/comment-page-1/#comment-31064</link>
		<dc:creator>duriel</dc:creator>
		<pubDate>Thu, 06 Aug 2009 19:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-31064</guid>
		<description>I found the bug :) , i needed the german translation of:
&#039;\Processor(*/*#*)\% Processor Time&#039;
-&gt; &#039;\Prozessor(0)\Prozessorzeit (%)&#039;

Do you know how i can autodetect this string for each language?</description>
		<content:encoded><![CDATA[<p>I found the bug <img src='http://w-shadow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  , i needed the german translation of:<br />
&#8216;\Processor(*/*#*)\% Processor Time&#8217;<br />
-&gt; &#8216;\Prozessor(0)\Prozessorzeit (%)&#8217;</p>
<p>Do you know how i can autodetect this string for each language?</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-31061</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Thu, 06 Aug 2009 13:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=1058#comment-31061</guid>
		<description>Your Delphi version is probably the cause - I&#039;d guess the default string type doesn&#039;t support Unicode, right? Try using the ANSI/ASCII version - PdhExpandWildCardPath&lt;strong&gt;A&lt;/strong&gt; - instead.</description>
		<content:encoded><![CDATA[<p>Your Delphi version is probably the cause &#8211; I&#8217;d guess the default string type doesn&#8217;t support Unicode, right? Try using the ANSI/ASCII version &#8211; PdhExpandWildCardPath<strong>A</strong> &#8211; instead.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
