Home
last modified time | relevance | path

Searched refs:MemprofStats (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_stats.cpp23 MemprofStats::MemprofStats() { Clear(); } in MemprofStats() function in __memprof::MemprofStats
25 void MemprofStats::Clear() { in Clear()
28 internal_memset(this, 0, sizeof(MemprofStats)); in Clear()
42 void MemprofStats::Print() { in Print()
57 void MemprofStats::MergeFrom(const MemprofStats *stats) { in MergeFrom()
75 MemprofStats *accumulated_stats = reinterpret_cast<MemprofStats *>(arg); in MergeThreadStats()
107 MemprofStats &GetCurrentThreadStats() { in GetCurrentThreadStats()
113 MemprofStats stats; in PrintAccumulatedStats()
130 MemprofStats stats; in __sanitizer_get_current_allocated_bytes()
140 MemprofStats stats; in __sanitizer_get_heap_size()
[all …]
H A Dmemprof_stats.h24 struct MemprofStats { struct
44 explicit MemprofStats(LinkerInitialized) {} in MemprofStats() function
46 MemprofStats();
50 void MergeFrom(const MemprofStats *stats);
55 MemprofStats &GetCurrentThreadStats();
57 void FlushToDeadThreadStats(MemprofStats *stats);
H A Dmemprof_thread.h90 MemprofStats &stats() { return stats_; } in stats()
116 MemprofStats stats_;
H A Dmemprof_allocator.cpp189 MemprofStats &thread_stats = GetCurrentThreadStats(); in OnMap()
199 MemprofStats &thread_stats = GetCurrentThreadStats(); in OnUnmap()
420 MemprofStats &thread_stats = GetCurrentThreadStats(); in Allocate()
462 MemprofStats &thread_stats = GetCurrentThreadStats(); in Deallocate()
490 MemprofStats &thread_stats = GetCurrentThreadStats(); in Reallocate()