Re: [Algorithms] Timing problems
Brought to you by:
vexxed72
From: Gregory J. <gj...@da...> - 2009-01-04 18:12:44
|
Sorry, that's what I get for posting right when I wake up.Emil had the correct version; since it's a bitmask, you indicate the zero'th core with a 1. Greg _____ From: Gregory Junker [mailto:gj...@da...] Sent: Sunday, January 04, 2009 10:07 AM To: 'Game Development Algorithms' Subject: Re: [Algorithms] Timing problems Correct. Greg _____ From: Paul at Home [mailto:pa...@ru...] Sent: Sunday, January 04, 2009 3:44 AM To: Game Development Algorithms Subject: Re: [Algorithms] Timing problems I've seen this around but I'm not using any threads. Not deliberately anyway. Do you put a zero in for "me" ? Regards, Paul Johnson. ----- Original Message ----- From: Gregory Junker <mailto:gj...@da...> To: 'Game Development Algorithms' <mailto:gda...@li...> Sent: Sunday, January 04, 2009 2:07 AM Subject: Re: [Algorithms] Timing problems Hi Paul By "jump problem", do you mean this? http://support.microsoft.com/kb/274323 Either way, simply set the thread that is your time master to run on only a single core, using SetThreadAffinityMask() (on Win32, of course - not sure what the equivalent, if any, might be on Linux). http://msdn.microsoft.com/en-us/library/ms686247(VS.85).aspx Yes, it's a hack, but at present, it's what we got. ;) Greg _____ From: Paul at Home [mailto:pa...@ru...] Sent: Saturday, January 03, 2009 3:06 PM To: gda...@li... Subject: [Algorithms] Timing problems I've just fallen foul of QPC not working correctly having just gone from a single processor to a quad core. I remember reading somewhere that multiple processors could cause problems in the future, but I guess the future (for me) just arrived. I do handle the well-known "jump" problem but I guess that's old news now anyway. Can anyone point me in the right direction for how to fix this please ? Regards, Paul Johnson. _____ ---------------------------------------------------------------------------- -- _____ _______________________________________________ GDAlgorithms-list mailing list GDA...@li... https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list Archives: http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list |