Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer Interval Accuracy
Message
De
20/03/2007 22:27:37
 
 
À
20/03/2007 20:48:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01206333
Message ID:
01206354
Vues:
10
>How accurate is the Interval property in a timer control? For example:
>
>I've inherited a Job Scheduler. The data table contains the time the job is supposed to run. The timer interval is 60000 (every minute). It calls a method in a class which looks at the Hour and Minute of DATETIME() and compares it to the Hour and Minute of the job record. If there is a match, it will spawn the job.
>
>What are the chances that the timer could get called at (for example) 11:59:59 and then get called again at 12:01:01 and bypass anything set for 12:00?
>
>In other words, what is the range/likelihood of intervals when the property is set at 60000? Does the workload on the computer have any effect on this?
>
>Thanks........Rich

Hi Rich,

Timer event is a low priority event, it is very likely that it will not be firing at the exact interval specified.

Thanks,
Aleksey.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform