mirror of
https://github.com/wolfpld/tracy.git
synced 2024-09-20 13:52:18 +00:00
a632d9e2a3
Zone children will be now collected in staging vectors. When the zone is ended (and no children can be added anymore to it), a size-fitted vector is allocated using slab allocation. The over-allocated vector is then put into cache for use in future zones. This is only active for vectors <= 8192 elements, or 64 KB (chosen arbitrarily), to reduce time spent on copying memory. Overall, this change should have the following effects: - System memory allocation pressure reduction, due to re-usage of vectors, which eliminates the need for constant growth. - Reduction of memory usage, because children vectors are now fitted to required size. - Slight increase of zone processing time, due to memory copying? |
||
---|---|---|
.. | ||
IconsFontAwesome5.h | ||
tracy_flat_hash_map.hpp | ||
tracy_pdqsort.h | ||
TracyBadVersion.cpp | ||
TracyBadVersion.hpp | ||
TracyBuzzAnim.hpp | ||
TracyCharUtil.hpp | ||
TracyDecayValue.hpp | ||
TracyEvent.hpp | ||
TracyFileHeader.hpp | ||
TracyFileRead.hpp | ||
TracyFilesystem.hpp | ||
TracyFileWrite.hpp | ||
TracyImGui.hpp | ||
TracyMemory.cpp | ||
TracyMemory.hpp | ||
TracyPopcnt.hpp | ||
TracySlab.hpp | ||
TracyStorage.cpp | ||
TracyStorage.hpp | ||
TracyStringDiscovery.hpp | ||
TracyVarArray.hpp | ||
TracyVector.hpp | ||
TracyVersion.hpp | ||
TracyView.cpp | ||
TracyView.hpp | ||
TracyWorker.cpp | ||
TracyWorker.hpp |