Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find out how much CPU is being used

Status
Not open for further replies.

bebbo

Programmer
Dec 5, 2000
621
GB
Ids there a way I can find out, using a program, how much CPU is being used. I know I can locate it in windows but I was wondering if I can monitor it within my program.

Thanks
 
I am just guessing that you want to do this to identify a bottle nick in your code that takes to much time to execute. If this is true, CPU monitor will not help you that much.
VFP has a feature called Coverage Profiler, this will give you exactly what you need.
Spend some time reading the help and develop good understanding for the concept.
Then go to eps-software.com


and download Markus Egger’s Add-In for the profiler, it is much better and easier to use than the native one.
There is also a good article at the same page.
Good luck


Walid Magd
Engwam@Hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top