Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use runtime.nanotime on Linux, add Windows QueryPerformanceCounter backend #2

Merged
merged 6 commits into from
Nov 24, 2016

Conversation

pquerna
Copy link
Contributor

@pquerna pquerna commented Nov 24, 2016

  • Adds runtime.nanotime on Linux, and its easy to add other platforms based on build flags.
  • Adds Windows QueryPerformanceCounter backend
  • Adds new New() and Duration() public methods, if you want more control over the timer storage.
  • Updates README

@robert-chiniquy
Copy link

lgtm +1

@pquerna pquerna merged commit 7b68471 into master Nov 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants