GitXplorerGitXplorer
R

slacktime

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
c9800d2219cf279ccd37a774014ad52db078d8a1

Add .travis.yml

RRyman committed 10 years ago
Unverified
1cfd3470791345e7a0fec1d3a0f4ea7bb43f53c3

rustup: proc is gone, semicolons after macros

RRyman committed 10 years ago
Unverified
32f21c14892aba48402461f963ccedcc4145f294

atomics is gone in favor of atomic

RRyman committed 10 years ago
Unverified
80a5e5919a533f9bedc8acc83b189bfe7bf3d821

Add now and now_utc

RRyman committed 10 years ago
Unverified
fd0cc9c331dee4dda44ee5e84ac8221fb4438ec7

Allow Sync

RRyman committed 10 years ago
Unverified
4d470989dd4c9db6d28cb443ea720123945de720

Add LICENSE

RRyman committed 10 years ago

README

The README file for this repository.

Coarse timer for when you don't need a completely accurate clock.

Motivation:

test get_time::slack_500ms      ... bench:         1 ns/iter (+/- 0)
test get_time::slack_50ms       ... bench:         1 ns/iter (+/- 0)
test get_time::slack_5ms        ... bench:         1 ns/iter (+/- 0)
test get_time::stdlib           ... bench:        52 ns/iter (+/- 37)
test get_time::through_arc_50ms ... bench:         1 ns/iter (+/- 0)
test now::slack_500ms           ... bench:         2 ns/iter (+/- 1)
test now::slack_50ms            ... bench:         3 ns/iter (+/- 2)
test now::slack_5ms             ... bench:         3 ns/iter (+/- 2)
test now::stdlib                ... bench:       757 ns/iter (+/- 232)
test now::through_arc_50ms      ... bench:         3 ns/iter (+/- 2)
test now_utc::slack_500ms       ... bench:         3 ns/iter (+/- 4)
test now_utc::slack_50ms        ... bench:         3 ns/iter (+/- 2)
test now_utc::slack_5ms         ... bench:         3 ns/iter (+/- 1)
test now_utc::stdlib            ... bench:       214 ns/iter (+/- 48)
test now_utc::through_arc_50ms  ... bench:         3 ns/iter (+/- 1)