Home
last modified time | relevance | path

Searched refs:GlobalActivityTracker (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/base/debug/
Dactivity_tracker_unittest.cc56 GlobalActivityTracker* global_tracker = GlobalActivityTracker::Get(); in ~ActivityTrackerTest()
69 GlobalActivityTracker* global_tracker = GlobalActivityTracker::Get(); in GetGlobalActiveTrackerCount()
77 GlobalActivityTracker* global_tracker = GlobalActivityTracker::Get(); in GetGlobalInactiveTrackerCount()
85 return GlobalActivityTracker::Get()->user_data_allocator_.cache_used(); in GetGlobalUserDataMemoryCacheUsed()
91 GlobalActivityTracker::ProcessPhase phase, in HandleProcessExit()
105 GlobalActivityTracker::ProcessPhase exit_phase_;
206 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
209 GlobalActivityTracker::Get()->GetOrCreateTrackerForCurrentThread(); in TEST_F()
266 GlobalActivityTracker::Get()->GetOrCreateTrackerForCurrentThread(); in Run()
291 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
[all …]
Dactivity_analyzer_unittest.cc57 GlobalActivityTracker* global_tracker = GlobalActivityTracker::Get(); in ~ActivityAnalyzerTest()
71 std::unique_ptr<GlobalActivityTracker> old_global = in AsOtherProcess()
72 GlobalActivityTracker::ReleaseForTesting(); in AsOtherProcess()
80 GlobalActivityTracker::CreateWithAllocator(std::move(new_allocator), 3, in AsOtherProcess()
85 GlobalActivityTracker::ReleaseForTesting(); in AsOtherProcess()
86 GlobalActivityTracker::SetForTesting(std::move(old_global)); in AsOtherProcess()
126 GlobalActivityTracker::Get() in Run()
137 GlobalActivityTracker::Get()->GetTrackerForCurrentThread()->PopActivity(id); in Run()
166 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
167 GlobalActivityTracker::Get()->process_data().SetString("foo", "bar"); in TEST_F()
[all …]
Dactivity_tracker.cc67 GlobalActivityTracker* global = GlobalActivityTracker::Get(); in GetProcessId()
608 GlobalActivityTracker::kTypeIdActivityTracker;
1085 subtle::AtomicWord GlobalActivityTracker::g_tracker_ = 0;
1087 GlobalActivityTracker::ModuleInfo::ModuleInfo() = default;
1088 GlobalActivityTracker::ModuleInfo::ModuleInfo(ModuleInfo&& rhs) = default;
1089 GlobalActivityTracker::ModuleInfo::ModuleInfo(const ModuleInfo& rhs) = default;
1090 GlobalActivityTracker::ModuleInfo::~ModuleInfo() = default;
1092 GlobalActivityTracker::ModuleInfo& GlobalActivityTracker::ModuleInfo::operator=(
1094 GlobalActivityTracker::ModuleInfo& GlobalActivityTracker::ModuleInfo::operator=(
1097 GlobalActivityTracker::ModuleInfoRecord::ModuleInfoRecord() = default;
[all …]
Dactivity_analyzer.cc59 GlobalActivityTracker::kTypeIdActivityTracker, in ThreadActivityAnalyzer()
215 ref, GlobalActivityTracker::kTypeIdUserDataRecord, in GetUserDataSnapshot()
252 GlobalActivityTracker::kTypeIdGlobalLogMessage)) != 0) { in GetLogMessages()
254 ref, GlobalActivityTracker::kTypeIdGlobalLogMessage, in GetLogMessages()
263 std::vector<GlobalActivityTracker::ModuleInfo>
265 std::vector<GlobalActivityTracker::ModuleInfo> modules; in GetModules()
268 const GlobalActivityTracker::ModuleInfoRecord* record; in GetModules()
271 iter.GetNextOfObject<GlobalActivityTracker::ModuleInfoRecord>()) != in GetModules()
280 GlobalActivityTracker::ModuleInfo info; in GetModules()
318 case GlobalActivityTracker::kTypeIdActivityTracker: in PrepareAllAnalyzers()
[all …]
Dactivity_tracker.h764 class BASE_EXPORT GlobalActivityTracker {
860 GlobalActivityTracker* global_tracker = Get(); in GetOrCreateTracker()
882 ~GlobalActivityTracker();
931 static GlobalActivityTracker* Get() { in Get()
932 return reinterpret_cast<GlobalActivityTracker*>( in Get()
937 static void SetForTesting(std::unique_ptr<GlobalActivityTracker> tracker);
943 static std::unique_ptr<GlobalActivityTracker> ReleaseForTesting();
995 GlobalActivityTracker* tracker = Get(); in RecordProcessLaunchIfEnabled()
1002 GlobalActivityTracker* tracker = Get(); in RecordProcessLaunchIfEnabled()
1007 GlobalActivityTracker* tracker = Get(); in RecordProcessExitIfEnabled()
[all …]
Dactivity_analyzer.h199 std::vector<GlobalActivityTracker::ModuleInfo> GetModules(int64_t pid);
/external/libchrome/base/threading/
Dthread_local_storage.h34 class GlobalActivityTracker; variable
174 friend class debug::GlobalActivityTracker;
/external/libchrome/base/synchronization/
Dlock_unittest.cc152 debug::GlobalActivityTracker::CreateWithLocalMemory(64 << 10, 0, "", 3, 0); in TEST()
188 debug::GlobalActivityTracker::ReleaseForTesting(); in TEST()
Dlock_impl_posix.cc97 if (base::debug::GlobalActivityTracker::IsEnabled()) in Lock()
/external/libchrome/base/
Dlogging.cc831 base::debug::GlobalActivityTracker* tracker = in ~LogMessage()
832 base::debug::GlobalActivityTracker::Get(); in ~LogMessage()
/external/libchrome/base/metrics/
Dfield_trial.cc1044 base::debug::GlobalActivityTracker* tracker = in NotifyFieldTrialGroupSelection()
1045 base::debug::GlobalActivityTracker::Get(); in NotifyFieldTrialGroupSelection()