Lines Matching defs:MemprofStats
21 // MemprofStats struct is NOT thread-safe.
22 // Each MemprofThread has its own MemprofStats, which are sometimes flushed
23 // to the accumulated MemprofStats.
24 struct MemprofStats {
25 // MemprofStats must be a struct consisting of uptr fields only.
26 // When merging two MemprofStats structs, we treat them as arrays of uptr.
43 // Ctor for global MemprofStats (accumulated stats for dead threads).
44 explicit MemprofStats(LinkerInitialized) {}
46 MemprofStats();
50 void MergeFrom(const MemprofStats *stats);
55 MemprofStats &GetCurrentThreadStats();
57 void FlushToDeadThreadStats(MemprofStats *stats);