ThreadData 418 base/message_loop/message_loop.cc tracked_objects::ThreadData::NowForStartOfRun(pending_task.birth_tally); ThreadData 453 base/message_loop/message_loop.cc tracked_objects::ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, ThreadData 454 base/message_loop/message_loop.cc start_time, tracked_objects::ThreadData::NowForEndOfRun()); ThreadData 15 base/profiler/scoped_profile.cc : birth_(ThreadData::TallyABirthIfActive(location)), ThreadData 16 base/profiler/scoped_profile.cc start_of_run_(ThreadData::NowForStartOfRun(birth_)) { ThreadData 26 base/profiler/scoped_profile.cc ThreadData::TallyRunInAScopedRegionIfTracking(birth_, start_of_run_, ThreadData 27 base/profiler/scoped_profile.cc ThreadData::NowForEndOfRun()); ThreadData 73 base/profiler/tracked_time_unittest.cc if (!ThreadData::InitializeAndSetTrackingStatus(ThreadData::DEACTIVATED)) ThreadData 76 base/profiler/tracked_time_unittest.cc TrackedTime track_now = ThreadData::Now(); ThreadData 78 base/profiler/tracked_time_unittest.cc track_now = ThreadData::NowForStartOfRun(NULL); ThreadData 80 base/profiler/tracked_time_unittest.cc track_now = ThreadData::NowForEndOfRun(); ThreadData 85 base/profiler/tracked_time_unittest.cc if (!ThreadData::InitializeAndSetTrackingStatus( ThreadData 86 base/profiler/tracked_time_unittest.cc ThreadData::PROFILING_CHILDREN_ACTIVE)) ThreadData 97 base/profiler/tracked_time_unittest.cc TrackedTime now = ThreadData::Now(); ThreadData 80 base/threading/platform_thread_android.cc tracked_objects::ThreadData::InitializeThreadContext(name); ThreadData 49 base/threading/platform_thread_freebsd.cc tracked_objects::ThreadData::InitializeThreadContext(name); ThreadData 49 base/threading/platform_thread_linux.cc tracked_objects::ThreadData::InitializeThreadContext(name); ThreadData 164 base/threading/platform_thread_win.cc tracked_objects::ThreadData::InitializeThreadContext(name); ThreadData 754 base/threading/sequenced_worker_pool.cc tracked_objects::ThreadData::NowForStartOfRun(task.birth_tally); ThreadData 758 base/threading/sequenced_worker_pool.cc tracked_objects::ThreadData::TallyRunOnNamedThreadIfTracking(task, ThreadData 759 base/threading/sequenced_worker_pool.cc start_time, tracked_objects::ThreadData::NowForEndOfRun()); ThreadData 99 base/threading/worker_pool_posix.cc tracked_objects::ThreadData::NowForStartOfRun(pending_task.birth_tally); ThreadData 103 base/threading/worker_pool_posix.cc tracked_objects::ThreadData::TallyRunOnWorkerThreadIfTracking( ThreadData 105 base/threading/worker_pool_posix.cc start_time, tracked_objects::ThreadData::NowForEndOfRun()); ThreadData 29 base/threading/worker_pool_win.cc tracked_objects::ThreadData::NowForStartOfRun(pending_task->birth_tally); ThreadData 35 base/threading/worker_pool_win.cc tracked_objects::ThreadData::TallyRunOnWorkerThreadIfTracking( ThreadData 38 base/threading/worker_pool_win.cc tracked_objects::ThreadData::NowForEndOfRun()); ThreadData 45 base/tracked_objects.cc const ThreadData::Status kInitialStartupState = ThreadData 46 base/tracked_objects.cc ThreadData::PROFILING_CHILDREN_ACTIVE; ThreadData 198 base/tracked_objects.cc const ThreadData& current) ThreadData 217 base/tracked_objects.cc Births::Births(const Location& location, const ThreadData& current) ThreadData 238 base/tracked_objects.cc NowFunction* ThreadData::now_function_ = NULL; ThreadData 244 base/tracked_objects.cc base::ThreadLocalStorage::StaticSlot ThreadData::tls_index_ = TLS_INITIALIZER; ThreadData 247 base/tracked_objects.cc int ThreadData::worker_thread_data_creation_count_ = 0; ThreadData 250 base/tracked_objects.cc int ThreadData::cleanup_count_ = 0; ThreadData 253 base/tracked_objects.cc int ThreadData::incarnation_counter_ = 0; ThreadData 256 base/tracked_objects.cc ThreadData* ThreadData::all_thread_data_list_head_ = NULL; ThreadData 259 base/tracked_objects.cc ThreadData* ThreadData::first_retired_worker_ = NULL; ThreadData 263 base/tracked_objects.cc ThreadData::list_lock_ = LAZY_INSTANCE_INITIALIZER; ThreadData 266 base/tracked_objects.cc ThreadData::Status ThreadData::status_ = ThreadData::UNINITIALIZED; ThreadData 268 base/tracked_objects.cc ThreadData::ThreadData(const std::string& suggested_name) ThreadData 278 base/tracked_objects.cc ThreadData::ThreadData(int thread_number) ThreadData 288 base/tracked_objects.cc ThreadData::~ThreadData() {} ThreadData 290 base/tracked_objects.cc void ThreadData::PushToHeadOfList() { ThreadData 295 base/tracked_objects.cc random_number_ += static_cast<int32>(this - static_cast<ThreadData*>(0)); ThreadData 306 base/tracked_objects.cc ThreadData* ThreadData::first() { ThreadData 311 base/tracked_objects.cc ThreadData* ThreadData::next() const { return next_; } ThreadData 314 base/tracked_objects.cc void ThreadData::InitializeThreadContext(const std::string& suggested_name) { ThreadData 317 base/tracked_objects.cc ThreadData* current_thread_data = ThreadData 318 base/tracked_objects.cc reinterpret_cast<ThreadData*>(tls_index_.Get()); ThreadData 321 base/tracked_objects.cc current_thread_data = new ThreadData(suggested_name); ThreadData 326 base/tracked_objects.cc ThreadData* ThreadData::Get() { ThreadData 329 base/tracked_objects.cc ThreadData* registered = reinterpret_cast<ThreadData*>(tls_index_.Get()); ThreadData 334 base/tracked_objects.cc ThreadData* worker_thread_data = NULL; ThreadData 350 base/tracked_objects.cc worker_thread_data = new ThreadData(worker_thread_number); ThreadData 359 base/tracked_objects.cc void ThreadData::OnThreadTermination(void* thread_data) { ThreadData 365 base/tracked_objects.cc reinterpret_cast<ThreadData*>(thread_data)->OnThreadTerminationCleanup(); ThreadData 368 base/tracked_objects.cc void ThreadData::OnThreadTerminationCleanup() { ThreadData 381 base/tracked_objects.cc DCHECK_EQ(this->next_retired_worker_, reinterpret_cast<ThreadData*>(NULL)); ThreadData 387 base/tracked_objects.cc void ThreadData::Snapshot(bool reset_max, ProcessDataSnapshot* process_data) { ThreadData 392 base/tracked_objects.cc ThreadData::SnapshotAllExecutedTasks(reset_max, process_data, &birth_counts); ThreadData 406 base/tracked_objects.cc Births* ThreadData::TallyABirth(const Location& location) { ThreadData 435 base/tracked_objects.cc void ThreadData::TallyADeath(const Births& birth, ThreadData 469 base/tracked_objects.cc Births* ThreadData::TallyABirthIfActive(const Location& location) { ThreadData 475 base/tracked_objects.cc ThreadData* current_thread_data = Get(); ThreadData 482 base/tracked_objects.cc void ThreadData::TallyRunOnNamedThreadIfTracking( ThreadData 495 base/tracked_objects.cc ThreadData* current_thread_data = Get(); ThreadData 516 base/tracked_objects.cc void ThreadData::TallyRunOnWorkerThreadIfTracking( ThreadData 539 base/tracked_objects.cc ThreadData* current_thread_data = Get(); ThreadData 554 base/tracked_objects.cc void ThreadData::TallyRunInAScopedRegionIfTracking( ThreadData 567 base/tracked_objects.cc ThreadData* current_thread_data = Get(); ThreadData 579 base/tracked_objects.cc void ThreadData::SnapshotAllExecutedTasks(bool reset_max, ThreadData 586 base/tracked_objects.cc ThreadData* my_list = ThreadData::first(); ThreadData 594 base/tracked_objects.cc for (ThreadData* thread_data = my_list; ThreadData 601 base/tracked_objects.cc void ThreadData::SnapshotExecutedTasks(bool reset_max, ThreadData 606 base/tracked_objects.cc ThreadData::BirthMap birth_map; ThreadData 607 base/tracked_objects.cc ThreadData::DeathMap death_map; ThreadData 608 base/tracked_objects.cc ThreadData::ParentChildSet parent_child_set; ThreadData 611 base/tracked_objects.cc for (ThreadData::DeathMap::const_iterator it = death_map.begin(); ThreadData 618 base/tracked_objects.cc for (ThreadData::BirthMap::const_iterator it = birth_map.begin(); ThreadData 626 base/tracked_objects.cc for (ThreadData::ParentChildSet::const_iterator it = parent_child_set.begin(); ThreadData 633 base/tracked_objects.cc void ThreadData::SnapshotMaps(bool reset_max, ThreadData 657 base/tracked_objects.cc void ThreadData::ResetAllThreadData() { ThreadData 658 base/tracked_objects.cc ThreadData* my_list = first(); ThreadData 660 base/tracked_objects.cc for (ThreadData* thread_data = my_list; ThreadData 666 base/tracked_objects.cc void ThreadData::Reset() { ThreadData 679 base/tracked_objects.cc ThreadData::SetAlternateTimeSource(alternate_time_source); ThreadData 682 base/tracked_objects.cc bool ThreadData::Initialize() { ThreadData 708 base/tracked_objects.cc tls_index_.Initialize(&ThreadData::OnThreadTermination); ThreadData 732 base/tracked_objects.cc bool ThreadData::InitializeAndSetTrackingStatus(Status status) { ThreadData 746 base/tracked_objects.cc ThreadData::Status ThreadData::status() { ThreadData 751 base/tracked_objects.cc bool ThreadData::TrackingStatus() { ThreadData 756 base/tracked_objects.cc bool ThreadData::TrackingParentChildStatus() { ThreadData 761 base/tracked_objects.cc TrackedTime ThreadData::NowForStartOfRun(const Births* parent) { ThreadData 763 base/tracked_objects.cc ThreadData* current_thread_data = Get(); ThreadData 771 base/tracked_objects.cc TrackedTime ThreadData::NowForEndOfRun() { ThreadData 776 base/tracked_objects.cc void ThreadData::SetAlternateTimeSource(NowFunction* now_function) { ThreadData 783 base/tracked_objects.cc TrackedTime ThreadData::Now() { ThreadData 792 base/tracked_objects.cc void ThreadData::EnsureCleanupWasCalled(int major_threads_shutdown_count) { ThreadData 807 base/tracked_objects.cc void ThreadData::ShutdownSingleThreadedCleanup(bool leak) { ThreadData 813 base/tracked_objects.cc ThreadData* thread_data_list; ThreadData 821 base/tracked_objects.cc ThreadData* worker = first_retired_worker_; ThreadData 838 base/tracked_objects.cc ThreadData* thread_data = thread_data_list; ThreadData 850 base/tracked_objects.cc ThreadData* next_thread_data = thread_data_list; ThreadData 882 base/tracked_objects.cc const ThreadData::ParentChildPair& parent_child) ThreadData 198 base/tracked_objects.h class ThreadData; ThreadData 201 base/tracked_objects.h BirthOnThread(const Location& location, const ThreadData& current); ThreadData 204 base/tracked_objects.h const ThreadData* birth_thread() const { return birth_thread_; } ThreadData 214 base/tracked_objects.h const ThreadData* const birth_thread_; ThreadData 236 base/tracked_objects.h Births(const Location& location, const ThreadData& current); ThreadData 355 base/tracked_objects.h class BASE_EXPORT ThreadData { ThreadData 384 base/tracked_objects.h static ThreadData* Get(); ThreadData 503 base/tracked_objects.h explicit ThreadData(int thread_number); ThreadData 506 base/tracked_objects.h explicit ThreadData(const std::string& suggested_name); ThreadData 508 base/tracked_objects.h ~ThreadData(); ThreadData 516 base/tracked_objects.h static ThreadData* first(); ThreadData 519 base/tracked_objects.h ThreadData* next() const; ThreadData 593 base/tracked_objects.h static ThreadData* first_retired_worker_; ThreadData 598 base/tracked_objects.h static ThreadData* all_thread_data_list_head_; ThreadData 625 base/tracked_objects.h ThreadData* next_; ThreadData 630 base/tracked_objects.h ThreadData* next_retired_worker_; ThreadData 689 base/tracked_objects.h DISALLOW_COPY_AND_ASSIGN(ThreadData); ThreadData 700 base/tracked_objects.h const ThreadData::ParentChildPair& parent_child); ThreadData 30 base/tracked_objects_unittest.cc ThreadData::ShutdownSingleThreadedCleanup(true); ThreadData 36 base/tracked_objects_unittest.cc ThreadData::ShutdownSingleThreadedCleanup(false); ThreadData 41 base/tracked_objects_unittest.cc ThreadData::ShutdownSingleThreadedCleanup(false); ThreadData 50 base/tracked_objects_unittest.cc ThreadData::InitializeThreadContext(kMainThreadName); ThreadData 53 base/tracked_objects_unittest.cc Births* birth = ThreadData::TallyABirthIfActive(location); ThreadData 55 base/tracked_objects_unittest.cc if (ThreadData::status() == ThreadData::DEACTIVATED) ThreadData 98 base/tracked_objects_unittest.cc if (!ThreadData::InitializeAndSetTrackingStatus( ThreadData 99 base/tracked_objects_unittest.cc ThreadData::PROFILING_CHILDREN_ACTIVE)) ThreadData 102 base/tracked_objects_unittest.cc EXPECT_FALSE(ThreadData::first()); // No activity even on this thread. ThreadData 103 base/tracked_objects_unittest.cc ThreadData* data = ThreadData::Get(); ThreadData 104 base/tracked_objects_unittest.cc EXPECT_TRUE(ThreadData::first()); // Now class was constructed. ThreadData 107 base/tracked_objects_unittest.cc EXPECT_EQ(data, ThreadData::Get()); ThreadData 108 base/tracked_objects_unittest.cc ThreadData::BirthMap birth_map; ThreadData 109 base/tracked_objects_unittest.cc ThreadData::DeathMap death_map; ThreadData 110 base/tracked_objects_unittest.cc ThreadData::ParentChildSet parent_child_set; ThreadData 120 base/tracked_objects_unittest.cc EXPECT_TRUE(ThreadData::InitializeAndSetTrackingStatus( ThreadData 121 base/tracked_objects_unittest.cc ThreadData::PROFILING_CHILDREN_ACTIVE)); ThreadData 122 base/tracked_objects_unittest.cc EXPECT_FALSE(ThreadData::first()); // No activity even on this thread. ThreadData 123 base/tracked_objects_unittest.cc data = ThreadData::Get(); ThreadData 124 base/tracked_objects_unittest.cc EXPECT_TRUE(ThreadData::first()); // Now class was constructed. ThreadData 127 base/tracked_objects_unittest.cc EXPECT_EQ(data, ThreadData::Get()); ThreadData 138 base/tracked_objects_unittest.cc if (!ThreadData::InitializeAndSetTrackingStatus( ThreadData 139 base/tracked_objects_unittest.cc ThreadData::PROFILING_CHILDREN_ACTIVE)) ThreadData 145 base/tracked_objects_unittest.cc Births* first_birth = ThreadData::TallyABirthIfActive(location); ThreadData 147 base/tracked_objects_unittest.cc ThreadData* data = ThreadData::first(); ThreadData 150 base/tracked_objects_unittest.cc EXPECT_EQ(data, ThreadData::Get()); ThreadData 151 base/tracked_objects_unittest.cc ThreadData::BirthMap birth_map; ThreadData 152 base/tracked_objects_unittest.cc ThreadData::DeathMap death_map; ThreadData 153 base/tracked_objects_unittest.cc ThreadData::ParentChildSet parent_child_set; ThreadData 163 base/tracked_objects_unittest.cc ThreadData::NowForStartOfRun(first_birth); ThreadData 170 base/tracked_objects_unittest.cc TrackedTime end_time = ThreadData::NowForEndOfRun(); ThreadData 171 base/tracked_objects_unittest.cc ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, start_time, ThreadData 182 base/tracked_objects_unittest.cc if (ThreadData::TrackingParentChildStatus()) { ThreadData 194 base/tracked_objects_unittest.cc ThreadData::Snapshot(false, &process_data); ThreadData 211 base/tracked_objects_unittest.cc if (ThreadData::TrackingParentChildStatus()) { ThreadData 232 base/tracked_objects_unittest.cc if (!ThreadData::InitializeAndSetTrackingStatus( ThreadData 233 base/tracked_objects_unittest.cc ThreadData::PROFILING_CHILDREN_ACTIVE)) ThreadData 274 base/tracked_objects_unittest.cc if (!ThreadData::InitializeAndSetTrackingStatus(ThreadData::DEACTIVATED)) ThreadData 282 base/tracked_objects_unittest.cc ThreadData::Snapshot(false, &process_data); ThreadData 290 base/tracked_objects_unittest.cc if (!ThreadData::InitializeAndSetTrackingStatus(ThreadData::DEACTIVATED)) ThreadData 298 base/tracked_objects_unittest.cc ThreadData::Snapshot(false, &process_data); ThreadData 305 base/tracked_objects_unittest.cc if (!ThreadData::InitializeAndSetTrackingStatus( ThreadData 306 base/tracked_objects_unittest.cc ThreadData::PROFILING_CHILDREN_ACTIVE)) ThreadData 314 base/tracked_objects_unittest.cc ThreadData::Snapshot(false, &process_data); ThreadData 320 base/tracked_objects_unittest.cc if (!ThreadData::InitializeAndSetTrackingStatus( ThreadData 321 base/tracked_objects_unittest.cc ThreadData::PROFILING_CHILDREN_ACTIVE)) ThreadData 329 base/tracked_objects_unittest.cc ThreadData::Snapshot(false, &process_data); ThreadData 335 base/tracked_objects_unittest.cc if (!ThreadData::InitializeAndSetTrackingStatus( ThreadData 336 base/tracked_objects_unittest.cc ThreadData::PROFILING_CHILDREN_ACTIVE)) ThreadData 353 base/tracked_objects_unittest.cc ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, ThreadData 357 base/tracked_objects_unittest.cc ThreadData::Snapshot(false, &process_data); ThreadData 367 base/tracked_objects_unittest.cc if (!ThreadData::InitializeAndSetTrackingStatus( ThreadData 368 base/tracked_objects_unittest.cc ThreadData::PROFILING_CHILDREN_ACTIVE)) ThreadData 383 base/tracked_objects_unittest.cc EXPECT_TRUE(ThreadData::InitializeAndSetTrackingStatus( ThreadData 384 base/tracked_objects_unittest.cc ThreadData::DEACTIVATED)); ThreadData 389 base/tracked_objects_unittest.cc ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, ThreadData 393 base/tracked_objects_unittest.cc ThreadData::Snapshot(false, &process_data); ThreadData 402 base/tracked_objects_unittest.cc if (!ThreadData::InitializeAndSetTrackingStatus(ThreadData::DEACTIVATED)) ThreadData 419 base/tracked_objects_unittest.cc ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, ThreadData 423 base/tracked_objects_unittest.cc ThreadData::Snapshot(false, &process_data); ThreadData 430 base/tracked_objects_unittest.cc if (!ThreadData::InitializeAndSetTrackingStatus( ThreadData 431 base/tracked_objects_unittest.cc ThreadData::PROFILING_CHILDREN_ACTIVE)) ThreadData 437 base/tracked_objects_unittest.cc Births* birth = ThreadData::TallyABirthIfActive(location); ThreadData 444 base/tracked_objects_unittest.cc ThreadData::TallyRunOnWorkerThreadIfTracking(birth, kTimePosted, ThreadData 449 base/tracked_objects_unittest.cc ThreadData::Snapshot(false, &process_data); ThreadData 457 base/tracked_objects_unittest.cc ThreadData::Snapshot(true, &process_data_pre_reset); ThreadData 464 base/tracked_objects_unittest.cc ThreadData::Snapshot(true, &process_data_post_reset); ThreadData 488 base/tracked_objects_unittest.cc if (!ThreadData::InitializeAndSetTrackingStatus( ThreadData 489 base/tracked_objects_unittest.cc ThreadData::PROFILING_CHILDREN_ACTIVE)) ThreadData 506 base/tracked_objects_unittest.cc ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, ThreadData 513 base/tracked_objects_unittest.cc ThreadData::TallyRunOnNamedThreadIfTracking(pending_task2, ThreadData 517 base/tracked_objects_unittest.cc ThreadData::Snapshot(false, &process_data); ThreadData 523 base/tracked_objects_unittest.cc if (!ThreadData::InitializeAndSetTrackingStatus( ThreadData 524 base/tracked_objects_unittest.cc ThreadData::PROFILING_CHILDREN_ACTIVE)) ThreadData 528 base/tracked_objects_unittest.cc ThreadData::InitializeThreadContext(kMainThreadName); ThreadData 542 base/tracked_objects_unittest.cc ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, ThreadData 553 base/tracked_objects_unittest.cc ThreadData::Snapshot(false, &process_data); ThreadData 20 base/tracking_info.cc tracked_objects::ThreadData::TallyABirthIfActive(posted_from)), ThreadData 195 chrome/browser/browser_process_impl.cc tracked_objects::ThreadData::EnsureCleanupWasCalled(4); ThreadData 829 chrome/browser/chrome_browser_main.cc tracked_objects::ThreadData::Status status = ThreadData 830 chrome/browser/chrome_browser_main.cc tracked_objects::ThreadData::PROFILING_ACTIVE; ThreadData 832 chrome/browser/chrome_browser_main.cc status = tracked_objects::ThreadData::DEACTIVATED; ThreadData 834 chrome/browser/chrome_browser_main.cc status = tracked_objects::ThreadData::PROFILING_CHILDREN_ACTIVE; ThreadData 835 chrome/browser/chrome_browser_main.cc tracked_objects::ThreadData::InitializeAndSetTrackingStatus(status); ThreadData 259 chrome/browser/metrics/tracking_synchronizer.cc tracked_objects::ThreadData::Snapshot(false, &process_data); ThreadData 23 chrome/browser/task_profiler/auto_tracking.h tracked_objects::ThreadData::Initialize(); ThreadData 149 chrome/browser/task_profiler/task_profiler_data_serializer.cc tracked_objects::ThreadData::Snapshot(false, &this_process_data); ThreadData 147 chrome/browser/ui/webui/profiler_ui.cc tracked_objects::ThreadData::ResetAllThreadData(); ThreadData 20 content/browser/profiler_message_filter.cc tracked_objects::ThreadData::Status status = ThreadData 21 content/browser/profiler_message_filter.cc tracked_objects::ThreadData::status(); ThreadData 1449 content/browser/renderer_host/render_process_host_impl.cc tracked_objects::ThreadData::Status status = ThreadData 1450 content/browser/renderer_host/render_process_host_impl.cc tracked_objects::ThreadData::status(); ThreadData 57 content/child/child_thread.cc using tracked_objects::ThreadData; ThreadData 464 content/child/child_thread.cc void ChildThread::OnSetProfilerStatus(ThreadData::Status status) { ThreadData 465 content/child/child_thread.cc ThreadData::InitializeAndSetTrackingStatus(status); ThreadData 470 content/child/child_thread.cc ThreadData::Snapshot(false, &process_data); ThreadData 188 content/child/child_thread.h void OnSetProfilerStatus(tracked_objects::ThreadData::Status status); ThreadData 19 content/common/child_process_messages.h IPC_ENUM_TRAITS_MAX_VALUE(tracked_objects::ThreadData::Status, ThreadData 20 content/common/child_process_messages.h tracked_objects::ThreadData::STATUS_LAST) ThreadData 100 content/common/child_process_messages.h tracked_objects::ThreadData::Status /* profiler status */) ThreadData 35 ppapi/utility/threading/simple_thread.cc ThreadData* data = static_cast<ThreadData*>(void_data); ThreadData 96 ppapi/utility/threading/simple_thread.cc ThreadData* data = new ThreadData;