Home
last modified time | relevance | path

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

/freebsd/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()
27 return (void)REAL(memset)(this, 0, sizeof(MemprofStats)); 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()
67 static MemprofStats unknown_thread_stats(LINKER_INITIALIZED);
68 static MemprofStats dead_threads_stats(LINKER_INITIALIZED);
75 MemprofStats *accumulated_stats = reinterpret_cast<MemprofStats *>(arg); in MergeThreadStats()
81 static void GetAccumulatedStats(MemprofStats *stats) { in GetAccumulatedStats()
[all …]
H A Dmemprof_stats.h24 struct MemprofStats { struct
44 explicit MemprofStats(LinkerInitialized) {} in MemprofStats() argument
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.cpp201 MemprofStats &thread_stats = GetCurrentThreadStats(); in OnMap()
211 MemprofStats &thread_stats = GetCurrentThreadStats(); in OnUnmap()
486 MemprofStats &thread_stats = GetCurrentThreadStats(); in Allocate()
524 MemprofStats &thread_stats = GetCurrentThreadStats(); in Deallocate()
552 MemprofStats &thread_stats = GetCurrentThreadStats(); in Reallocate()