Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Generate a unique ID

by BrowserUk (Pope)
on Nov 15, 2010 at 12:13 UTC ( #871453=note: print w/ replies, xml ) Need Help??


in reply to Re: Generate a unique ID
in thread Generate a unique ID

It's probably not relevant, but we have seen time "run backwards" on multi-core systems using AMD processors.

Was this using Time::HiRes on a Windows system? If so, I know how that can happen, and I don't think it is constrained to AMD processors, though I seem to remember seeing that Intel have addressed the underlying problem on their latest chips.

For my purposes, I'll be probably be using a time value limited to milliseconds anyway, but thanks for the heads up.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re^2: Generate a unique ID
Re^3: Generate a unique ID
by GrandFather (Cardinal) on Nov 15, 2010 at 19:00 UTC

    It was actually in a C++ application using the high res 'multi media' timer (IIRC) in an application trying to sync clocks on external hardware. The information we found on the web implicated just AMD processors and was consistent with our observations, albeit with a fairly small sample set. I wasn't directly involved with the problem so I don't remember the details, but it was within the last two months and the computers involved were probably less than a year old.

    True laziness is hard work

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://871453]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-08-29 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls