Home
last modified time | relevance | path

Searched refs:ThreadActivityTracker (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/debug/
Dactivity_tracker_unittest.cc31 class TestActivityTracker : public ThreadActivityTracker {
34 : ThreadActivityTracker(memset(memory.get(), 0, mem_size), mem_size), in TestActivityTracker()
51 using ActivityId = ThreadActivityTracker::ActivityId;
63 std::unique_ptr<ThreadActivityTracker> CreateActivityTracker() { in CreateActivityTracker()
156 std::unique_ptr<ThreadActivityTracker> tracker = CreateActivityTracker(); in TEST_F()
157 ThreadActivityTracker::Snapshot snapshot; in TEST_F()
208 ThreadActivityTracker* tracker = in TEST_F()
210 ThreadActivityTracker::Snapshot snapshot; in TEST_F()
265 ThreadActivityTracker* tracker = in Run()
293 ThreadActivityTracker* tracker = in TEST_F()
[all …]
Dactivity_tracker.cc605 struct ThreadActivityTracker::Header {
660 ThreadActivityTracker::Snapshot::Snapshot() = default;
661 ThreadActivityTracker::Snapshot::~Snapshot() = default;
663 ThreadActivityTracker::ScopedActivity::ScopedActivity( in ScopedActivity()
664 ThreadActivityTracker* tracker, in ScopedActivity()
674 ThreadActivityTracker::ScopedActivity::~ScopedActivity() { in ~ScopedActivity()
679 void ThreadActivityTracker::ScopedActivity::ChangeTypeAndData( in ChangeTypeAndData()
686 ThreadActivityTracker::ThreadActivityTracker(void* base, size_t size) in ThreadActivityTracker() function in base::debug::ThreadActivityTracker
763 ThreadActivityTracker::~ThreadActivityTracker() = default;
765 ThreadActivityTracker::ActivityId ThreadActivityTracker::PushActivity( in PushActivity()
[all …]
Dactivity_tracker.h51 class ThreadActivityTracker; variable
574 class BASE_EXPORT ThreadActivityTracker {
624 ScopedActivity(ThreadActivityTracker* tracker,
637 ThreadActivityTracker* const tracker_;
649 ThreadActivityTracker(void* base, size_t size);
650 virtual ~ThreadActivityTracker();
757 DISALLOW_COPY_AND_ASSIGN(ThreadActivityTracker);
841 : public ThreadActivityTracker::ScopedActivity {
859 static ThreadActivityTracker* GetOrCreateTracker(bool lock_allowed) { in GetOrCreateTracker()
957 ThreadActivityTracker* GetTrackerForCurrentThread() { in GetTrackerForCurrentThread()
[all …]
Dactivity_analyzer_unittest.cc34 class TestActivityTracker : public ThreadActivityTracker {
37 : ThreadActivityTracker(memset(memory.get(), 0, mem_size), mem_size), in TestActivityTracker()
64 std::unique_ptr<ThreadActivityTracker> CreateActivityTracker() { in CreateActivityTracker()
93 std::unique_ptr<ThreadActivityTracker> tracker = CreateActivityTracker(); in TEST_F()
125 ThreadActivityTracker::ActivityId id = in Run()
264 ThreadActivityTracker* tracker = in TEST_F()
Dactivity_analyzer.h27 struct BASE_EXPORT Snapshot : ThreadActivityTracker::Snapshot {
59 explicit ThreadActivityAnalyzer(const ThreadActivityTracker& tracker);
Dactivity_analyzer.cc48 const ThreadActivityTracker& tracker) in ThreadActivityAnalyzer()
52 : ThreadActivityAnalyzer(ThreadActivityTracker(base, size)) {} in ThreadActivityAnalyzer()