Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Time in Milliseconds or NanoSeconds

by jdporter (Paladin)
on Aug 14, 2005 at 17:32 UTC ( [id://483712]=note: print w/replies, xml ) Need Help??


in reply to Re: Time in Milliseconds or NanoSeconds
in thread Time in Milliseconds or NanoSeconds

"Just as unique" is imprecise. The real question is, what is the likelihood of collision in the two value spaces? Collision in pid space occurs when the pid rolls over (it's typically 15 bits) and an "old" process is still running. Collision in $^T space occurs when more than one process is started in the same clock second. For there to be a collision in the combined space, such as the OP had, you'd have to have a situation where more than 32k processes are started in the same second. That's a significantly better bet than if using either one alone.
  • Comment on Re^2: Time in Milliseconds or NanoSeconds

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-20 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found