summaryrefslogtreecommitdiffstats
path: root/src/sandglass.c
Commit message (Collapse)AuthorAgeFilesLines
* Minor formatting and style fixes.Tavian Barnes2011-03-171-2/+3
|
* Make build work on non-x86/x86_64 platforms.Tavian Barnes2010-03-061-2/+2
|
* Make the API not suck.Tavian Barnes2010-03-031-111/+48
| | | | Seriously, not sure what I was thinking with the attributes type.
* Remove unused variable in sandglass_elapse().Tavian Barnes2009-10-231-1/+0
|
* New sandglass_bench_* macros, remove SANDGLASS_REALTICKS.Tavian Barnes2009-10-231-19/+1
| | | | | | sandglass_bench_fine() replaces SANDGLASS_REALTICKS; use SANDGLASS_CPUTIME instead. Also, sandglass_bench_noprecache() for when the expression to be timed has side-effects and should be executed only once.
* Make baseline calculations more accurate for SANDGLASS_REALTICKS.Tavian Barnes2009-09-211-17/+0
| | | | | | Perform the baseline calculation directly in the sandglass_bench() macro, so that the baseline is calculated in the same place (and therefore optimization level, etc.) as the benchmarked code.
* Make SANDGLASS_REALTICKS accurate to 1 clock cycle.Tavian Barnes2009-09-201-2/+12
|
* Remove sandglass_timespec_grains().Tavian Barnes2009-09-181-4/+4
|
* Generalise handling of negative grain differences.Tavian Barnes2009-09-171-3/+5
|
* Improve sandglass_tsc_resolution(), and fix timespec-based grains counts.Tavian Barnes2009-09-171-4/+5
|
* Begin libsandglass implementation.Tavian Barnes2009-09-171-0/+249
|
* Add test suite.Tavian Barnes2009-09-171-0/+20
|
* Add build system.Tavian Barnes2009-09-171-0/+1