Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CPU Utilization
Message
 
 
À
11/07/2006 03:12:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows 2000
Database:
Visual FoxPro
Divers
Thread ID:
01135216
Message ID:
01135419
Vues:
11
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform