Skip to content

Commit 540ac6d

Browse files
committed
kernel: extend time unit conversion to high resolution scales
Some use cases require using high-resolution tick or cycle clocks to measure sub-millisecond durations. Generate the corresponding 32-bit conversions to avoid the cost of 64-bit math in the common case where the duration fits in 32 bits in both original and converted scale. Signed-off-by: Peter Bigot <[email protected]>
1 parent e77e048 commit 540ac6d

File tree

1 file changed

+336
-1
lines changed

1 file changed

+336
-1
lines changed

0 commit comments

Comments
 (0)