TickDuration.ticksPerSec why would it be zero?

Jesse Phillips jessekphillips+D at gmail.com
Fri Apr 15 09:57:34 PDT 2011


The documentation[1] states one should check if the value is zero to see if they can use it. For me this value is 0, Windows XP. So why would it be 0 and what do I use when it is?

On a related note, anyone know of a UUID generator? I'm using a possible incorrect translation of the example in RFC 4122[2].

1. http://digitalmars.com/d/2.0/phobos/core_time.html#TickDuration
2. http://www.ietf.org/rfc/rfc4122.txt


More information about the Digitalmars-d-learn mailing list