Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to restrict a vfp application to one core ?
Message
De
29/08/2006 10:26:57
 
 
À
29/08/2006 10:04:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01149272
Message ID:
01149350
Vues:
7
>It's going to work like a dual processor machine. The VFP app will only run on one core.

Yes - but still during the run the process can switch over to the other core.
As I employ Queryperformance* for my timing routines and this might be problematic, see:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/timers/timerreference/timerfunctions/queryperformancecounter.asp
I'ld like to fence the app onto the *same* single core for the whole run.

regards

thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform