• PHO's avatar
    Avoid integer overflow in MonotonicClock{S,MS,US} · a4f4fc50
    PHO authored
    This is Darwin specific: the previous implementation was causing an integer
    overflow when base.numer is very large. On PPC Darwin, the timebase info is 1000000000/33330116 and this is too large for integer arithmetic.
    a4f4fc50
Clock.cxx 2.63 KB