Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CPU Status
Message
 
 
To
08/09/2006 10:53:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01152193
Message ID:
01152322
Views:
17
Denis,

You should be able to trigger the coverage profiler to run anytime the cpu goes over 80%?

If you look at the WMI docs online they should be able to point you in the right direction, I'm pretty sure that is what task manager is using to get the cpu percentage for each of the running processes.

>I describe my problem. I wrote Tapi + winsock solution. My application perfect work.. but SOMETIMERS.. it begin using 90% of CPU... And I can't catch the moment when it happen and what fail in application.
>At this reason, I want to place timer which will check CPU ... and if app during long period take CPU time I want to run coverage profiler and shutdown app.. then look in log - which process make this sh...t..
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform