Commit Graph

4 Commits

Author SHA1 Message Date
Devin Doucette
c1c9a493c0 CompactBinary: Added validation to LoadCompactBinary and removed asserts from the other load functions
#rb Zousar.Shaker
#rnx
#preflight 60bc53b70249c30001c6a20e

[CL 16570338 by Devin Doucette in ue5-main branch]
2021-06-07 10:28:39 -04:00
Johan Berg
148abdfe15 [Insights] Only save cache file when first used.
Refactored cache file creation so that is all contained inside FFileContents wrapper. File is now created the first time a block is commited which means a cache file will not be created for traces that doesn't use the cache (currently all non-memory traces).

#rb ionut.matasaru
#preflight 60bdff28f3ba640001f49b8f

[CL 16568925 by Johan Berg in ue5-main branch]
2021-06-07 08:11:08 -04:00
aurel cordonnier
08ad2b44b7 Submitting fix for no unity build error on behalf of David.Bollo
#rb trivial
#rnx

[CL 16509457 by aurel cordonnier in ue5-main branch]
2021-05-31 11:34:33 -04:00
Johan Berg
c8bb41e34f [Insights] Cache layer
Introduces a persistent storage system for Unreal Insights. The cache is based on fixed block sizes. Users give a unique name which is associated with a unique caching index. User can then allocate fixed sized blocks of memory and store data inside. The system make no assumption of the saved data. Each block is ref counted and as it is released the memory is committed to disk.

Additionally a small user data section is provided per cache index for persistent storage of data which does not fit neatly into the block model, such as element counts.

#rb ionut.matasaru

[CL 16501017 by Johan Berg in ue5-main branch]
2021-05-28 10:32:24 -04:00