Lines Matching refs:ThreadData

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);
348 // For each thread, we have a ThreadData that stores all tracking info generated
350 // We use ThreadLocalStorage to quickly identfy the current ThreadData context.
351 // We also have a linked list of ThreadData instances, and that list is used to
357 class BASE_EXPORT ThreadData {
376 // Initialize the current thread context with a new instance of ThreadData.
386 static ThreadData* Get();
431 // in all ThreadData instances. The numerical (zeroing) part is done without
501 explicit ThreadData(int thread_number);
504 explicit ThreadData(const std::string& suggested_name);
506 ~ThreadData();
513 // (Thread safe) Get start of list of all ThreadData instances using the lock.
514 static ThreadData* first();
516 // Iterate through the null terminated list of ThreadData instances.
517 ThreadData* next() const;
528 // Snapshot (under a lock) the profiled data for the tasks in each ThreadData
567 // can save all the thread data into a cache of reusable ThreadData instances.
573 // true, and the data structures (birth maps, death maps, ThreadData
578 // ThreadData instances.
589 // We use thread local store to identify which ThreadData to interact with.
592 // List of ThreadData instances for use with worker threads. When a worker
594 // thread is created, we first try to re-use a ThreadData instance from the
597 static ThreadData* first_retired_worker_;
602 static ThreadData* all_thread_data_list_head_;
608 // The number of times TLS has called us back to cleanup a ThreadData
629 ThreadData* next_;
631 // Pointer to another ThreadData instance for a Worker-Thread that has been
633 // retired ThreadData associated with a Worker-Thread.
634 ThreadData* next_retired_worker_;
640 // Indicate if this is a worker thread, and the ThreadData contexts should be
697 DISALLOW_COPY_AND_ASSIGN(ThreadData);
725 ThreadData* GetThreadData() const;
735 ThreadData* current_thread_data_;
768 const ThreadData::ParentChildPair& parent_child);
776 // A snapshotted representation of the list of ThreadData objects for a process.