Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
egonelbre committed Feb 26, 2019
1 parent 0a584a7 commit 90b9467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Package hrtime implements high-resolution timing functions and benchmarking util

`hrtime` relies on using the best timing mechanism on a particular system. At the moment, for Windows it is using Performance Counters and on other platforms standard `time.Now` (since it's good enough).

Package also supports using hardward time stamp counters (TSC). They offer better accuracy and on some platforms correspond to the processor cycles. However, they are not supported on all platforms.
Package also supports using hardware time stamp counters (TSC). They offer better accuracy and on some platforms correspond to the processor cycles. However, they are not supported on all platforms.

For example measuring `time.Sleep` on Mac and Windows.

Expand Down
2 changes: 1 addition & 1 deletion init.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// At the moment, for Windows it is using Performance Counters and on other
// platforms standard `time.Now` (since it's good enough).
//
// Package also supports using hardward time stamp counters (TSC).
// Package also supports using hardware time stamp counters (TSC).
// They offer better accuracy and on some platforms correspond to the processor cycles.
// However, they are not supported on all platforms.
//
Expand Down

0 comments on commit 90b9467

Please sign in to comment.