Add a function to get the current time in microseconds
authorIustin Pop <iustin@google.com>
Thu, 17 Jan 2013 10:38:45 +0000 (11:38 +0100)
committerIustin Pop <iustin@google.com>
Mon, 21 Jan 2013 11:57:52 +0000 (12:57 +0100)
commita6e054a8b9210d32d8bfd68554b72503d7716a6d
tree814920271965ef88db45fd660c7ba4cf1dbb5850
parentc62df7027e16adcb4f4b2d1f33f17ee61c99bb9b
Add a function to get the current time in microseconds

In some cases we need higher resolution that seconds; I've settled on
microseconds as that is what 'threadDelay' wants, for exactly, so it's
easier if we keep the same units.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
src/Ganeti/Utils.hs