Solved

Performance Monitoring ?

Posted on 1997-09-25
4
241 Views
Last Modified: 2010-04-04
Anybody got code or a component to get to the performance monitoring functions under NT ? And how does this differ from the stuff stored in Windows 95's registry ?
0
Comment
Question by:gideon
  • 3
4 Comments
 
LVL 1

Accepted Solution

by:
dionysos_swamp earned 30 total points
ID: 1346283
Regarding the code: I have done a cool set of classes for reading the performance data in NT, I'm just cleaning it up and I will them monday as the answer to ffrand's question regarding Performance data.

Regarding the performance data in 95 vs. NT, it can be found under the Hkey_dyn_data key, but you seem to know that.
The difference is that the data in 95 is rather simple and not that detailed, in return it's easy to get and use, in NT the data is highly detailed and extremly complex, in NT you get the data by requesting the field 'global' from Hkey_performance_data, this yields a huge binary gob that you have to figure out on your own, furthermore the raw data that you get once you dismantle the structure has to undergo a strange cooking proccess to be useful.
For example: to get processor usage:
1) get cpu counter from system object
2) wait...
3) get cpu counter from system object
4) divide delta counter by the time consumed during wait.

And getting the cpu time is a simple matter, there are a lot (30) different modifiers that has to be taken into account.

To further complicate matters there are 3 different timebases used by the data, of wich one of them can change from object to object.

The url to my delphi NT performance lib will be:

http://www.yi.com/home/FlemmingFrandsen/dlp_perf.zip

This addy will be valid from monday 29/9 1997 and the file will contains full source to both the classes and a couple of cool example programs.
 
0
 
LVL 1

Expert Comment

by:dionysos_swamp
ID: 1346284
the real url is now:
http://www.yi.com/home/FlemmingFrandsen/ntperf.exe

or open my homepage:
http://www.yi.com/home/FlemmingFrandsen/
and click on the download page
0
 
LVL 1

Expert Comment

by:dionysos_swamp
ID: 1346285
the real url is now:
http://www.yi.com/home/FlemmingFrandsen/ntperf.exe

or open my homepage:
http://www.yi.com/home/FlemmingFrandsen/
and click on the download page
0
 

Author Comment

by:gideon
ID: 1346286
Thanks that helps.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Machine not responding during CopyFile() 3 104
Convert Jpg /PNG To GIF 5 150
Delphi: how to send PJL commands to printer 3 109
Multiple image collision 13 80
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

837 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