Files
o3de/Code/Framework/AzCore/Tests
lumberyard-employee-dm 6f52fcb9f0 Various Benchmark Fixes for AzCore (#7611)
Fixed crash in Allocators Benchmark multithreaded test due to the HPHA schema not having proper multithread protection around the `mFreeTree` member in `tree_get_unused_memory` function.
The `mFreeTree intrusive set is able to modified on multiple threads.

Replaced the custom intrusive_list implementation n HPHA schema with AZStd::intrusive_list

Added a `ScopedAllocatorBenchmarkEnvironment` class to provide an RAI mechanism for initializing the SystemAllocator in Benchmark Test

Rermoved the `AzCoreBenchmarkEnvironment` in lieu of the `ScopedAllocatorBenchmarkEnvironment` class

Fixed assert when running Allocator Benchmarks in debug due to mismatch PauseTiming/ResumeTiming in Allocator Benchmark Fixtures

Added `ScopedRegisterBenchmarkEnvironment` RAII class to provide lifetime guarantees on BenchmarkEnvironments registered via the `AZ_UNIT_TEST_HOOK`

Initialized the intrusive_multiset_node members to nullptr in all build configurations instead of only debug as the cost negligible and it is useful for debugging.

fixes LYN-10210

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
2022-02-14 11:08:53 -06:00
..
2022-02-11 12:50:12 -06:00
2021-08-16 16:02:53 -07:00
2022-02-08 14:34:04 -08:00
2021-10-05 15:12:53 -05:00
2022-01-23 22:29:03 +01:00
2021-12-01 16:50:45 -08:00
2022-01-20 13:00:02 -08:00
2021-08-20 14:48:42 -07:00
2021-08-20 14:48:42 -07:00
2022-01-20 15:01:53 -08:00
2021-08-20 20:36:11 -07:00
2021-09-08 16:50:57 -07:00
2021-12-02 17:15:46 -08:00
2022-01-11 00:47:00 +01:00