Re: (Re:) RDTSC-based Fortran-callable timer for Opteron/Linux

From: glen herrmannsfeldt (gah_at_ugcs.caltech.edu)
Date: 01/07/05


Date: Fri, 07 Jan 2005 10:06:55 -0800


Greg Lindahl wrote:

(snip)

> 4 billion / 2 Ghz = 2 seconds.

> So it's not just theoretical, it rolls over ~ every 2 seconds.

> BTW this instruction is not SMP-safe: different cpus have different
> counters.

As I understand it, they are supposed to be synchronized, but
then how many people would notice, and report the bug, if
they weren't?

You can't really compare results between different threads, and
you will likely see a large count increase on a context switch.

-- glen



Relevant Pages

  • Re: SharedCLibrary version
    ... > the availability of a 32-bit SCL on the A9. ... > a developer beta-testing the A9, you report the bug to Adv6 in the usual ...
    (comp.sys.acorn.programmer)
  • Re: So long and thanks for all the fish.
    ... I did report it on the A9home list to the usual deafening silence. ... they have repeated to different people that *bug* reports ... StevePotts at blastzone DOT demon STOP co DOT uk ...
    (comp.sys.acorn.misc)
  • Re: Attribute value of
  • Re: sp2 install with care article, whats up with this?
    ... SP2 convienently puts a 'File a Bug' button on your desktop. ... Which, unfortunately, didn't work when I tried to report a bug. ...
    (microsoft.public.windowsxp.general)
  • Re: Human rights still under siege
    ... I have shown that you abuse snippets from a report that are mere ... You are the "nazi" comrade Dan. ... Your inability to back up your lies exposes them constantly. ...
    (soc.culture.cuba)