Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New sandglass_bench_* macros, remove SANDGLASS_REALTICKS. | Tavian Barnes | 2009-10-23 | 4 | -181/+59 |
| | | | | | | 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. | ||||
* | Show more accuracy in output of tests. | Tavian Barnes | 2009-09-21 | 5 | -6/+6 |
| | |||||
* | Make `cpuid' do the same thing for every sandglass_get_tsc() call. | Tavian Barnes | 2009-09-21 | 2 | -0/+4 |
| | |||||
* | Make baseline calculations more accurate for SANDGLASS_REALTICKS. | Tavian Barnes | 2009-09-21 | 2 | -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 Barnes | 2009-09-20 | 2 | -5/+15 |
| | |||||
* | Use .11111s instead of .1s in tests to illustrate precision. | Tavian Barnes | 2009-09-20 | 5 | -5/+5 |
| | |||||
* | Don't change the `ts' parameter in sandglass_spin. | Tavian Barnes | 2009-09-20 | 8 | -37/+26 |
| | |||||
* | Add more tests. | Tavian Barnes | 2009-09-20 | 5 | -1/+213 |
| | |||||
* | Add timespec helper routines. | Tavian Barnes | 2009-09-18 | 6 | -46/+141 |
| | |||||
* | Remove sandglass_timespec_grains(). | Tavian Barnes | 2009-09-18 | 5 | -39/+6 |
| | |||||
* | Generalise handling of negative grain differences. | Tavian Barnes | 2009-09-17 | 2 | -3/+8 |
| | |||||
* | Improve sandglass_tsc_resolution(), and fix timespec-based grains counts. | Tavian Barnes | 2009-09-17 | 5 | -9/+74 |
| | |||||
* | Rename test. | Tavian Barnes | 2009-09-17 | 3 | -10/+8 |
| | |||||
* | Begin libsandglass implementation. | Tavian Barnes | 2009-09-17 | 11 | -15/+416 |
| | |||||
* | Add test suite. | Tavian Barnes | 2009-09-17 | 7 | -3/+226 |
| | |||||
* | Add build system. | Tavian Barnes | 2009-09-17 | 15 | -1/+1233 |
| | |||||
* | Add assembly sandglass_get_tsc function. | Tavian Barnes | 2009-09-17 | 3 | -0/+87 |
| | |||||
* | Initial work on header file. | Tavian Barnes | 2009-09-17 | 1 | -0/+154 |
| | |||||
* | Initial directory structure. | Tavian Barnes | 2009-09-17 | 0 | -0/+0 |