summaryrefslogtreecommitdiffstats
path: root/src/sandglass.h
Commit message (Collapse)AuthorAgeFilesLines
* Use a signed type for sandglass_t::loops.Tavian Barnes2010-03-041-2/+2
|
* Make the API not suck.Tavian Barnes2010-03-031-50/+30
| | | | Seriously, not sure what I was thinking with the attributes type.
* Remove spurious assert.h include.Tavian Barnes2010-03-031-2/+0
|
* New sandglass_bench_* macros, remove SANDGLASS_REALTICKS.Tavian Barnes2009-10-231-12/+56
| | | | | | 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-1/+25
| | | | | | 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.
* Generalise handling of negative grain differences.Tavian Barnes2009-09-171-0/+3
|
* Begin libsandglass implementation.Tavian Barnes2009-09-171-9/+4
|
* Add build system.Tavian Barnes2009-09-171-1/+1
|
* Add assembly sandglass_get_tsc function.Tavian Barnes2009-09-171-0/+7
|
* Initial work on header file.Tavian Barnes2009-09-171-0/+154