Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CPU Utilization
Message
 
 
To
11/07/2006 03:12:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows 2000
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01135216
Message ID:
01135419
Views:
10
Ritesh,

Is your basic app:
oTimer = createobject( "YourTimer" )
read events

define class YourTimer as Timer
Interval = 1000

function Timer()
* do something
endfunc
enddefine
If you've got other things like a DO WHILE loop you are burning more CPU cycles than you need.

>Hi,
>I have created one backgroud application without any UI.
>Application is using 1 timer control. The application simply checks one folder for file & if file is there update VFP6.0 database.
>
>but it consumes even more than 50% of CPU. cpu utilisation is very fluctuating..
>
>Anybody knows the reason & can provide the solutions/suggestions.
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