Solved

Performance : Difference between PDH and WMI Performance Counters

Posted on 2004-08-19
4
1,017 Views
Last Modified: 2013-12-03

I wonder what the differences are between the Performance Data Helper ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/perfmon/base/performance_data_helper.asp ) and the WMI Performance Counter Classes ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/performance_counter_classes.asp). Are they based on the same function, what is their relation ??
And, what should I use to make a performance monitoring tool ??

Thanks in advance, any idea/contribution is very appreciated
0
Comment
Question by:Confettis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 11841133
>>Are they based on the same function, what is their relation ??

They're based on the same functionality/technology and read the data from the HKEY_PERFORMANCE_DATA key in the registry.

>>And, what should I use to make a performance monitoring tool ??

That depends - if you are already using WMI or VB, I'd go that way, but from e.g. C++, WMI interfaces are more than cumbersome to handle.
0
 

Author Comment

by:Confettis
ID: 11842749
Thanks for your answer.
And which of the two requires less system resources (or, is there no difference sindse they are based on the same registry-key )??
0
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 11844018
>>is there no difference sindse they are based on the same registry-key

I'd say they both introduce the same overhead.
0
 

Author Comment

by:Confettis
ID: 11844787
Thanks a lot.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question