summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Use a signed type for sandglass_t::loops.Tavian Barnes2010-03-041-2/+2
|
* Version 0.2.v0.2Tavian Barnes2010-03-041-0/+1
|
* Make the API not suck.Tavian Barnes2010-03-034-166/+83
| | | | Seriously, not sure what I was thinking with the attributes type.
* Remove spurious assert.h include.Tavian Barnes2010-03-031-2/+0
|
* Use pkg-config.Tavian Barnes2010-02-232-0/+14
|
* Remove unused variable in sandglass_elapse().Tavian Barnes2009-10-231-1/+0
|
* New sandglass_bench_* macros, remove SANDGLASS_REALTICKS.Tavian Barnes2009-10-232-31/+57
| | | | | | 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 `cpuid' do the same thing for every sandglass_get_tsc() call.Tavian Barnes2009-09-212-0/+4
|
* Make baseline calculations more accurate for SANDGLASS_REALTICKS.Tavian Barnes2009-09-212-18/+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.
* Make SANDGLASS_REALTICKS accurate to 1 clock cycle.Tavian Barnes2009-09-201-2/+12
|
* Don't change the `ts' parameter in sandglass_spin.Tavian Barnes2009-09-203-7/+16
|
* Add timespec helper routines.Tavian Barnes2009-09-184-31/+124
|
* Remove sandglass_timespec_grains().Tavian Barnes2009-09-185-39/+6
|
* Generalise handling of negative grain differences.Tavian Barnes2009-09-172-3/+8
|
* Improve sandglass_tsc_resolution(), and fix timespec-based grains counts.Tavian Barnes2009-09-175-9/+74
|
* Begin libsandglass implementation.Tavian Barnes2009-09-177-10/+368
|
* Add test suite.Tavian Barnes2009-09-172-1/+21
|
* Add build system.Tavian Barnes2009-09-173-1/+34
|
* Add assembly sandglass_get_tsc function.Tavian Barnes2009-09-173-0/+87
|
* Initial work on header file.Tavian Barnes2009-09-171-0/+154