Home | History | Annotate | Download | only in base

Lines Matching full:threaddata

111 // ThreadData instance (for that specific thread only).  The two critical items
120 // of ThreadData instances. Each such instance maintains a pointer to the next
121 // one. A static member of ThreadData provides a pointer to the first item on
124 // When new ThreadData instances is added to the global list, it is pre-pended,
159 // list of ThreadData objects for a process for a concrete profiling phase. It
200 class ThreadData;
203 BirthOnThread(const Location& location, const ThreadData& current);
206 const ThreadData* birth_thread() const { return birth_thread_; }
216 const ThreadData* const birth_thread_;
238 Births(const Location& location, const ThreadData& current);
316 // ThreadData::SnapshotMaps (which takes DeathData snapshot) in a given process
422 // For each thread, we have a ThreadData that stores all tracking info generated
424 // We use ThreadLocalStorage to quickly identfy the current ThreadData context.
425 // We also have a linked list of ThreadData instances, and that list is used to
433 // representation of the list of ThreadData objects that died during the given
437 class BASE_EXPORT ThreadData {
452 // Initialize the current thread context with a new instance of ThreadData.
462 static ThreadData* Get();
568 explicit ThreadData(int thread_number);
571 explicit ThreadData(const std::string& suggested_name);
573 ~ThreadData();
580 // (Thread safe) Get start of list of all ThreadData instances using the lock.
581 static ThreadData* first();
583 // Iterate through the null terminated list of ThreadData instances.
584 ThreadData* next() const;
622 // can save all the thread data into a cache of reusable ThreadData instances.
628 // true, and the data structures (birth maps, death maps, ThreadData
633 // ThreadData instances.
644 // We use thread local store to identify which ThreadData to interact with.
647 // List of ThreadData instances for use with worker threads. When a worker
649 // thread is created, we first try to re-use a ThreadData instance from the
652 static ThreadData* first_retired_worker_;
657 static ThreadData* all_thread_data_list_head_;
663 // The number of times TLS has called us back to cleanup a ThreadData
684 ThreadData* next_;
686 // Pointer to another ThreadData instance for a Worker-Thread that has been
688 // retired ThreadData associated with a Worker-Thread.
689 ThreadData* next_retired_worker_;
695 // Indicate if this is a worker thread, and the ThreadData contexts should be
737 DISALLOW_COPY_AND_ASSIGN(ThreadData);
768 ThreadData* GetThreadData() const;
778 ThreadData* current_thread_data_;
801 // A snapshotted representation of the list of ThreadData objects for a process,
813 // A snapshotted representation of the list of ThreadData objects for a process,