Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Performance : Difference between PDH and WMI Performance Counters

Posted on 2004-08-19
4
Medium Priority
?
1,029 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 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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 brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

719 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