Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Aug 24, 2021
1 parent 09fce34 commit c709535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/std/cputicks.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##[
Experimental API, subject to change
Experimental API, subject to change.
]##

#[
Expand Down Expand Up @@ -32,7 +32,7 @@ else:
proc getCpuTicksImpl(): uint64 {.importc: "__rdtsc", header: header.}

template getCpuTicks*(): int64 =
## Returns number of CPU ticks as given by `RDTSC` instruction.
## Returns number of CPU ticks as given by the `RDTSC` instruction.
## Unlike `std/monotimes.ticks`, this gives a strictly monotonic counter
## and has higher resolution and lower overhead,
## allowing to measure individual instructions (corresponding to time offsets in
Expand Down

0 comments on commit c709535

Please sign in to comment.