Skip to content
  • Nick Mathewson's avatar
    Add a new notion of "stamps" to be a fast 32-bit monotonic timestamp · c3c0a05f
    Nick Mathewson authored
    The goal here is to replace our use of msec-based timestamps with
    something less precise, but easier to calculate.  We're doing this
    because calculating lots of msec-based timestamps requires lots of
    64/32 division operations, which can be inefficient on 32-bit
    platforms.
    
    We make sure that these stamps can be calculated using only the
    coarse monotonic timer and 32-bit bitwise operations.
    c3c0a05f