> -----Original Message----- > From: Greg Stark [mailto:[EMAIL PROTECTED] > Sent: Monday, March 07, 2005 12:06 PM > To: John A Meinel > Cc: Tom Lane; Magnus Hagander; Ken Egervari; > pgsql-performance@postgresql.org; [EMAIL PROTECTED] > Subject: Re: [pgsql-hackers-win32] [PERFORM] Help with tuning > this query (with > [...] > What would be really neato would be to use the rtdsc (sp?) or > equivalent assembly instruction where available. Most processors > provide such a thing and it would give much lower overhead and much > more accurate answers. > > The main problem I see with this would be on multi-processor > machines. (QueryPerformanceCounter does work properly on > multi-processor machines, right?)
I believe QueryPerformanceCounter() already does this. __ David B. Held Software Engineer/Array Services Group 200 14th Ave. East, Sartell, MN 56377 320.534.3637 320.253.7800 800.752.8129 ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings