Linus Torvalds writes: (Summary) wrote:
Do you actually need 64 bits for the times?
That's the big cost. Do those really need 64-bit and nanosecond resolution?
resolution?
Maybe a 32-bit microsecond would be ok - would you ever account more than 35 minutes of anything without starting anew?
than 35 minutes of anything without starting anew?
Linus
Linus
Linus
[...]
Leaving us just 5 bytes short of needing a single cacheline :/ Do you actually need 64 bits for the times?Do you actually need 64 bits for the times?
That's the big cost. Do those really need 64-bit and nanosecond resolution?
resolution?
Maybe a 32-bit microsecond would be ok - would you ever account more than 35 minutes of anything without starting anew?
than 35 minutes of anything without starting anew?
Linus
Linus
Linus