Home | History | Annotate | Download | only in base

Lines Matching refs:ThreadData

110 // ThreadData instance (for that specific thread only).  The two critical items
119 // of ThreadData instances. Each such instance maintains a pointer to the next
120 // one. A static member of ThreadData provides a pointer to the first item on
123 // When new ThreadData instances is added to the global list, it is pre-pended,
158 // list of ThreadData objects for a process for a concrete profiling phase. It
199 class ThreadData;
202 BirthOnThread(const Location& location, const ThreadData& current);
205 const ThreadData* birth_thread() const { return birth_thread_; }
215 const ThreadData* const birth_thread_;
237 Births(const Location& location, const ThreadData& current);
315 // ThreadData::SnapshotMaps (which takes DeathData snapshot) in a given process
421 // For each thread, we have a ThreadData that stores all tracking info generated
423 // We use ThreadLocalStorage to quickly identfy the current ThreadData context.
424 // We also have a linked list of ThreadData instances, and that list is used to
432 // representation of the list of ThreadData objects that died during the given
436 class BASE_EXPORT ThreadData {
451 // Initialize the current thread context with a new instance of ThreadData.
461 static ThreadData* Get();
563 explicit ThreadData(int thread_number);
566 explicit ThreadData(const std::string& suggested_name);
568 ~ThreadData();
575 // (Thread safe) Get start of list of all ThreadData instances using the lock.
576 static ThreadData* first();
578 // Iterate through the null terminated list of ThreadData instances.
579 ThreadData* next() const;
617 // can save all the thread data into a cache of reusable ThreadData instances.
623 // true, and the data structures (birth maps, death maps, ThreadData
628 // ThreadData instances.
635 // We use thread local store to identify which ThreadData to interact with.
638 // List of ThreadData instances for use with worker threads. When a worker
640 // thread is created, we first try to re-use a ThreadData instance from the
643 static ThreadData* first_retired_worker_;
648 static ThreadData* all_thread_data_list_head_;
654 // The number of times TLS has called us back to cleanup a ThreadData
675 ThreadData* next_;
677 // Pointer to another ThreadData instance for a Worker-Thread that has been
679 // retired ThreadData associated with a Worker-Thread.
680 ThreadData* next_retired_worker_;
686 // Indicate if this is a worker thread, and the ThreadData contexts should be
728 DISALLOW_COPY_AND_ASSIGN(ThreadData);
759 ThreadData* GetThreadData() const;
769 ThreadData* current_thread_data_;
792 // A snapshotted representation of the list of ThreadData objects for a process,
805 // A snapshotted representation of the list of ThreadData objects for a process,