diff options
| author | Martin Hořeňovský | 2018-04-01 22:50:39 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2018-04-01 22:50:39 +0200 |
| commit | 931441251e8975a0e67dd94fa369cf310ac54602 (patch) | |
| tree | bd81d6d4dbe2cf705a2c89495e5d19c7b276c12e /projects/SelfTest/UsageTests/ToStringVector.tests.cpp | |
| parent | ea1f32626180242ad31a6ca12e74d05ac5166a46 (diff) | |
| download | catch3-931441251e8975a0e67dd94fa369cf310ac54602.tar.gz | |
Add an early bailout out of benchmark timer calibration
Specific platforms (e.g. TDM-GCC) can have terrible timer resolution,
and our checking code will then loop for an inordinate amount of time.
This change will make it so that the calibration gives up after 3
seconds and just uses the already measured values.
This leaves one open question, how to signal that the resolution
is terrible and benchmarking should not happen?
Fixes #1237
Diffstat (limited to 'projects/SelfTest/UsageTests/ToStringVector.tests.cpp')
0 files changed, 0 insertions, 0 deletions