summaryrefslogtreecommitdiff
path: root/compiler-rt/lib/memprof/tests/histogram_encoding.cpp
AgeCommit message (Collapse)Author
2025-07-30Reapply "[MemProf] Change histogram storage from uint64_t to uint16_t… ↵Snehasish Kumar
(#151431) Reapply #147854 after fixes merged in #151398. Change memory access histogram storage from uint64_t to uint16_t to reduce profile size on disk. This change updates the raw profile format to v5. Also add a histogram test in compiler-rt since we didn't have one before. With this change the histogram memprof raw for the basic test reduces from 75KB -> 20KB.
2025-07-30Revert "[MemProf] Change histogram storage from uint64_t to uint16_t" (#151382)Snehasish Kumar
Reverts llvm/llvm-project#147854 Test failure when building with gcc. https://lab.llvm.org/buildbot/#/builders/174/builds/21989
2025-07-30[MemProf] Change histogram storage from uint64_t to uint16_t (#147854)Snehasish Kumar
Change memory access histogram storage from uint64_t to uint16_t to reduce profile size on disk. This change updates the raw profile format to v5. Also add a histogram test in compiler-rt since we didn't have one before. With this change the histogram memprof raw for the basic test reduces from 75KB -> 20KB.