/external/chromium_org/base/profiler/ |
scoped_profile.cc | 15 : birth_(ThreadData::TallyABirthIfActive(location)), 16 start_of_run_(ThreadData::NowForStartOfRun(birth_)) { 26 ThreadData::TallyRunInAScopedRegionIfTracking(birth_, start_of_run_, 27 ThreadData::NowForEndOfRun());
|
tracked_time_unittest.cc | 73 if (!ThreadData::InitializeAndSetTrackingStatus(ThreadData::DEACTIVATED)) 76 TrackedTime track_now = ThreadData::Now(); 78 track_now = ThreadData::NowForStartOfRun(NULL); 80 track_now = ThreadData::NowForEndOfRun(); 85 if (!ThreadData::InitializeAndSetTrackingStatus( 86 ThreadData::PROFILING_CHILDREN_ACTIVE)) 96 // ThreadData::Now(). It can sometimes return the null time. 97 TrackedTime now = ThreadData::Now();
|
/external/chromium/base/ |
tracked_objects_unittest.cc | 21 if (!ThreadData::StartTracking(true)) 24 EXPECT_FALSE(ThreadData::first()); // No activity even on this thread. 25 ThreadData* data = ThreadData::current(); 26 EXPECT_TRUE(ThreadData::first()); // Now class was constructed. 29 EXPECT_EQ(data, ThreadData::current()); 30 ThreadData::BirthMap birth_map; 33 ThreadData::DeathMap death_map; 36 ThreadData::ShutdownSingleThreadedCleanup(); 39 ThreadData::StartTracking(true) [all...] |
tracked_objects.h | 93 // ThreadData instance (for that specific thread only). The two critical items 102 // of ThreadData instances. Each such instance maintains a pointer to the next 103 // one. A static member of ThreadData provides a pointer to the first_ item on 105 // When new ThreadData instances is added to the global list, it is pre-pended, 159 class ThreadData; 165 const ThreadData* birth_thread() const { return birth_thread_; } 175 const ThreadData* birth_thread_; // The thread this birth took place on. 255 Snapshot(const BirthOnThread& birth_on_thread, const ThreadData& death_thread, 262 const ThreadData* birth_thread() const { return birth_->birth_thread(); } 265 const ThreadData* death_thread() const {return death_thread_; [all...] |
tracked.cc | 80 if (!ThreadData::IsActive()) 86 if (!ThreadData::IsActive() || !tracked_births_) 88 ThreadData::current()->TallyADeath(*tracked_births_, 93 if (!ThreadData::IsActive()) 97 ThreadData* current_thread_data = ThreadData::current();
|
tracked_objects.cc | 21 base::ThreadLocalStorage::Slot ThreadData::tls_index_(base::LINKER_INITIALIZED); 75 birth_thread_(ThreadData::current()) { } 83 // ThreadData maintains the central data for all births and death. 86 ThreadData* ThreadData::first_ = NULL; 88 base::Lock ThreadData::list_lock_; 91 ThreadData::Status ThreadData::status_ = ThreadData::UNINITIALIZED; 93 ThreadData::ThreadData() : next_(NULL) [all...] |
/external/chromium_org/base/ |
tracked_objects.cc | 39 // When ThreadData is first initialized, should we start in an ACTIVE state to 45 const ThreadData::Status kInitialStartupState = 46 ThreadData::PROFILING_CHILDREN_ACTIVE; 49 // the ThreadData class. This compile time flag should be set to true if we 198 const ThreadData& current) 217 Births::Births(const Location& location, const ThreadData& current) 230 // ThreadData maintains the central data for all births and deaths on a single 238 NowFunction* ThreadData::now_function_ = NULL; 240 // A TLS slot which points to the ThreadData instance for the current thread. We 244 base::ThreadLocalStorage::StaticSlot ThreadData::tls_index_ = TLS_INITIALIZER [all...] |
tracked_objects_unittest.cc | 30 ThreadData::ShutdownSingleThreadedCleanup(true); 36 ThreadData::ShutdownSingleThreadedCleanup(false); 41 ThreadData::ShutdownSingleThreadedCleanup(false); 50 ThreadData::InitializeThreadContext(kMainThreadName); 53 Births* birth = ThreadData::TallyABirthIfActive(location); 55 if (ThreadData::status() == ThreadData::DEACTIVATED) 98 if (!ThreadData::InitializeAndSetTrackingStatus( 99 ThreadData::PROFILING_CHILDREN_ACTIVE)) 102 EXPECT_FALSE(ThreadData::first()); // No activity even on this thread [all...] |
tracked_objects.h | 105 // ThreadData instance (for that specific thread only). The two critical items 114 // of ThreadData instances. Each such instance maintains a pointer to the next 115 // one. A static member of ThreadData provides a pointer to the first item on 118 // When new ThreadData instances is added to the global list, it is pre-pended, 150 // of ThreadData objects for a process. It holds a set of TaskSnapshots 198 class ThreadData; 201 BirthOnThread(const Location& location, const ThreadData& current); 204 const ThreadData* birth_thread() const { return birth_thread_; } 214 const ThreadData* const birth_thread_; 236 Births(const Location& location, const ThreadData& current) [all...] |
tracking_info.cc | 20 tracked_objects::ThreadData::TallyABirthIfActive(posted_from)),
|
/external/chromium_org/chrome/browser/task_profiler/ |
auto_tracking.h | 23 tracked_objects::ThreadData::Initialize();
|
/external/chromium_org/ppapi/utility/threading/ |
simple_thread.cc | 23 struct ThreadData { 35 ThreadData* data = static_cast<ThreadData*>(void_data); 96 ThreadData* data = new ThreadData;
|
/external/chromium_org/content/browser/ |
profiler_message_filter.cc | 19 tracked_objects::ThreadData::Status status = 20 tracked_objects::ThreadData::status();
|
/external/chromium_org/base/threading/ |
worker_pool_win.cc | 29 tracked_objects::ThreadData::NowForStartOfRun(pending_task->birth_tally); 35 tracked_objects::ThreadData::TallyRunOnWorkerThreadIfTracking( 38 tracked_objects::ThreadData::NowForEndOfRun());
|
worker_pool_posix.cc | 99 tracked_objects::ThreadData::NowForStartOfRun(pending_task.birth_tally); 103 tracked_objects::ThreadData::TallyRunOnWorkerThreadIfTracking( 105 start_time, tracked_objects::ThreadData::NowForEndOfRun());
|
platform_thread_android.cc | 80 tracked_objects::ThreadData::InitializeThreadContext(name);
|
platform_thread_linux.cc | 49 tracked_objects::ThreadData::InitializeThreadContext(name);
|
platform_thread_win.cc | 157 tracked_objects::ThreadData::InitializeThreadContext(name);
|
/external/llvm/include/llvm/MC/ |
SectionKind.h | 82 /// ThreadData - Initialized TLS data objects. 83 ThreadData, 166 return K == ThreadData || K == ThreadBSS; 170 bool isThreadData() const { return K == ThreadData; } 224 static SectionKind getThreadData() { return get(ThreadData); }
|
/external/chromium_org/content/common/ |
child_process_messages.h | 18 IPC_ENUM_TRAITS(tracked_objects::ThreadData::Status) 87 tracked_objects::ThreadData::Status /* profiler status */) 89 // Send to all the child processes to send back profiler data (ThreadData in 111 // Send back profiler data (ThreadData in tracked_objects).
|
/external/chromium_org/content/child/ |
child_thread.cc | 51 using tracked_objects::ThreadData; 412 void ChildThread::OnSetProfilerStatus(ThreadData::Status status) { 413 ThreadData::InitializeAndSetTrackingStatus(status); 418 ThreadData::Snapshot(false, &process_data);
|
child_thread.h | 171 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status);
|
/external/chromium_org/chrome/browser/ui/webui/ |
profiler_ui.cc | 147 tracked_objects::ThreadData::ResetAllThreadData();
|
/external/chromium_org/chrome/browser/ |
chrome_browser_main.cc | [all...] |
/external/chromium_org/base/message_loop/ |
message_loop.cc | 480 tracked_objects::ThreadData::NowForStartOfRun(pending_task.birth_tally); 515 tracked_objects::ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, 516 start_time, tracked_objects::ThreadData::NowForEndOfRun());
|