Andrew Noyes 7a9217a392
Add contrib/debug_determinism (#6389)
* Add contrib/debug_determinism

Add an instrumentation-based technique for debugging unseen mismatches. Also guard a few existing sources of nondeterminism that don't affect unseen with the DEBUG_DETERMINISM macro.

Also change the simulated run loop to not run as the only task inside the real run loop, since that was a source of nondeterminism.

Also fix nondeterminism from calling timer_int

* Add StorageMetadataType::currentTime

Basically a deterministic-in-simulation version of timer_int that we can
use instead of timer_int for StorageMetadataType::createdTime
2022-02-25 12:54:31 -08:00
..
2021-09-16 19:40:28 -07:00
2020-05-22 09:25:32 -07:00
2021-11-09 10:32:17 -08:00
2021-12-22 15:04:00 -08:00
2022-01-25 17:38:27 -08:00
2022-01-25 17:38:27 -08:00
2021-09-16 19:40:28 -07:00
2021-06-02 17:30:09 +00:00
2021-07-23 17:33:18 -07:00
2021-04-26 10:16:18 -07:00
2022-01-25 17:38:27 -08:00
2021-09-24 09:53:32 -07:00
2021-09-24 09:53:32 -07:00
2019-08-01 08:40:45 -07:00