• PHO's avatar
    Avoid integer overflow in MonotonicClock{S,MS,US} · 39abd3ec
    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.
    39abd3ec
Clock.cxx 3.71 KB