Searched refs:ThreadData (Results 1 - 25 of 36) sorted by relevance

12

/external/chromium_org/base/profiler/
H A Dscoped_profile.cc15 : birth_(ThreadData::TallyABirthIfActive(location)) {
16 ThreadData::PrepareForStartOfRun(birth_);
28 ThreadData::TallyRunInAScopedRegionIfTracking(birth_, stopwatch_);
H A Dtracked_time_unittest.cc73 if (!ThreadData::InitializeAndSetTrackingStatus(ThreadData::DEACTIVATED))
76 TrackedTime track_now = ThreadData::Now();
81 if (!ThreadData::InitializeAndSetTrackingStatus(
82 ThreadData::PROFILING_CHILDREN_ACTIVE))
92 // ThreadData::Now(). It can sometimes return the null time.
93 TrackedTime now = ThreadData::Now();
/external/chromium_org/base/
H A Dtracked_objects.cc39 // 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;
241 bool ThreadData::now_function_is_time_ = false;
243 // A TLS slot which points to the ThreadData instanc
271 ThreadData::ThreadData(const std::string& suggested_name) function in class:tracked_objects::ThreadData
282 ThreadData::ThreadData(int thread_number) function in class:tracked_objects::ThreadData
[all...]
H A Dtracked_objects_unittest.cc30 ThreadData::ShutdownSingleThreadedCleanup(true);
33 ThreadData::SetAlternateTimeSource(&TrackedObjectsTest::GetTestTime);
34 ThreadData::now_function_is_time_ = true;
40 ThreadData::ShutdownSingleThreadedCleanup(false);
45 ThreadData::ShutdownSingleThreadedCleanup(false);
55 ThreadData::InitializeThreadContext(kMainThreadName);
58 Births* birth = ThreadData::TallyABirthIfActive(location);
60 if (ThreadData::status() == ThreadData::DEACTIVATED)
100 // Sets time that will be returned by ThreadData
[all...]
H A Dtracked_objects.h105 // 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
357 class BASE_EXPORT ThreadData { class in namespace:tracked_objects
[all...]
H A Dtracking_info.cc20 tracked_objects::ThreadData::TallyABirthIfActive(posted_from)),
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_thread.cpp26 void ThreadData::Init() {
31 void ThreadData::SwapErrorBuffers() {
39 void ThreadData::SetErrorArgs(const char* fmt, va_list args) {
47 void ThreadData::AppendErrorArgs(const char* fmt, va_list args) {
54 ThreadData* GetThreadDataFast() {
55 return reinterpret_cast<ThreadData*>(pthread_getspecific(s_thread_key));
58 ThreadData* GetThreadData() {
60 ThreadData* data = GetThreadDataFast();
62 data = reinterpret_cast<ThreadData*>(calloc(sizeof(*data), 1));
H A Dcrazy_linker_thread.h14 class ThreadData { class in namespace:crazy
17 ThreadData() {} function in class:crazy::ThreadData
19 // Init new ThreadData instance.
64 // Retrieves the ThreadData structure for the current thread.
67 ThreadData* GetThreadData();
71 ThreadData* GetThreadDataFast();
H A Dcrazy_linker_thread_unittest.cpp12 ThreadData* data = GetThreadData();
20 ThreadData* data = GetThreadData();
27 ThreadData* data = GetThreadData();
34 ThreadData* data = GetThreadData();
41 ThreadData* data = GetThreadData();
52 ThreadData* data = GetThreadData();
67 ThreadData* data = GetThreadData();
78 ThreadData* data = GetThreadData();
97 ThreadData* data = GetThreadData();
105 ThreadData* dat
[all...]
H A Dcrazy_linker_wrappers.cpp57 ThreadData* data = GetThreadData();
62 ThreadData* data = GetThreadData();
/external/chromium_org/chrome/browser/task_profiler/
H A Dauto_tracking.h23 tracked_objects::ThreadData::Initialize();
/external/chromium_org/ppapi/utility/threading/
H A Dsimple_thread.cc23 struct ThreadData { struct in namespace:pp::__anon10332
35 ThreadData* data = static_cast<ThreadData*>(void_data);
96 ThreadData* data = new ThreadData;
/external/chromium_org/content/browser/
H A Dprofiler_message_filter.cc20 tracked_objects::ThreadData::Status status =
21 tracked_objects::ThreadData::status();
/external/chromium_org/base/debug/
H A Dtask_annotator.cc31 tracked_objects::ThreadData::PrepareForStartOfRun(pending_task.birth_tally);
65 tracked_objects::ThreadData::TallyRunOnNamedThreadIfTracking(
/external/chromium_org/base/threading/
H A Dworker_pool_win.cc28 tracked_objects::ThreadData::PrepareForStartOfRun(pending_task->birth_tally);
38 tracked_objects::ThreadData::TallyRunOnWorkerThreadIfTracking(
H A Dplatform_thread_android.cc86 tracked_objects::ThreadData::InitializeThreadContext(name);
H A Dplatform_thread_freebsd.cc49 tracked_objects::ThreadData::InitializeThreadContext(name);
H A Dplatform_thread_linux.cc51 tracked_objects::ThreadData::InitializeThreadContext(name);
H A Dworker_pool_posix.cc98 tracked_objects::ThreadData::PrepareForStartOfRun(pending_task.birth_tally);
103 tracked_objects::ThreadData::TallyRunOnWorkerThreadIfTracking(
/external/chromium_org/content/common/
H A Dchild_process_messages.h19 IPC_ENUM_TRAITS_MAX_VALUE(tracked_objects::ThreadData::Status,
20 tracked_objects::ThreadData::STATUS_LAST)
109 tracked_objects::ThreadData::Status /* profiler status */)
111 // Send to all the child processes to send back profiler data (ThreadData in
137 // Send back profiler data (ThreadData in tracked_objects).
/external/llvm/include/llvm/MC/
H A DSectionKind.h82 /// ThreadData - Initialized TLS data objects.
83 ThreadData, enumerator in enum:llvm::SectionKind::Kind
166 return K == ThreadData || K == ThreadBSS;
170 bool isThreadData() const { return K == ThreadData; }
224 static SectionKind getThreadData() { return get(ThreadData); }
/external/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.h31 struct ThreadData;
149 std::vector<ThreadData> m_thread_data;
H A DThreadElfCore.h106 struct ThreadData struct
118 const ThreadData &td);
H A DProcessElfCore.cpp233 const ThreadData &td = m_thread_data[tid];
440 ParseFreeBSDPrStatus(ThreadData *thread_data, DataExtractor &data,
467 ParseFreeBSDThrMisc(ThreadData *thread_data, DataExtractor &data)
498 ThreadData *thread_data = new ThreadData();
521 thread_data = new ThreadData();
/external/chromium_org/content/child/
H A Dchild_thread.cc60 using tracked_objects::ThreadData;
511 void ChildThread::OnSetProfilerStatus(ThreadData::Status status) {
512 ThreadData::InitializeAndSetTrackingStatus(status);
517 ThreadData::Snapshot(false, &process_data);

Completed in 346 milliseconds

12