Home
last modified time | relevance | path

Searched refs:SharedMemoryTracker (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/memory/
Dshared_memory_tracker.cc14 SharedMemoryTracker::Usage::Usage() = default;
16 SharedMemoryTracker::Usage::Usage(const Usage& rhs) = default;
18 SharedMemoryTracker::Usage::~Usage() = default;
21 SharedMemoryTracker* SharedMemoryTracker::GetInstance() { in GetInstance()
22 static SharedMemoryTracker* instance = new SharedMemoryTracker; in GetInstance()
26 void SharedMemoryTracker::IncrementMemoryUsage( in IncrementMemoryUsage()
43 void SharedMemoryTracker::DecrementMemoryUsage( in DecrementMemoryUsage()
49 bool SharedMemoryTracker::OnMemoryDump(const trace_event::MemoryDumpArgs& args, in OnMemoryDump()
85 SharedMemoryTracker::SharedMemoryTracker() { in SharedMemoryTracker() function in base::SharedMemoryTracker
90 SharedMemoryTracker::~SharedMemoryTracker() = default;
Dshared_memory_tracker.h19 class BASE_EXPORT SharedMemoryTracker
23 static SharedMemoryTracker* GetInstance();
40 SharedMemoryTracker();
41 ~SharedMemoryTracker() override;
51 DISALLOW_COPY_AND_ASSIGN(SharedMemoryTracker);
Dshared_memory_posix.cc293 SharedMemoryTracker::GetInstance()->IncrementMemoryUsage(*this); in MapAt()
306 SharedMemoryTracker::GetInstance()->DecrementMemoryUsage(*this); in Unmap()