Searched refs:ThreadWatcher (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/chrome/browser/metrics/
H A Dthread_watcher.h7 // ThreadWatcher class which performs health check on threads that would like to
9 // all active ThreadWatcher objects.
11 // ThreadWatcher class sends ping message to the watched thread and the watched
15 // TODO(raman): ThreadWatcher can detect hung threads. If a hung thread is
38 // ThreadWatcher::StartWatching(
71 class ThreadWatcher { class
74 // as a workaround that limitation for invoking ThreadWatcher::StartWatching.
102 // will create ThreadWatcher object for the given |thread_id|, |thread_name|.
112 // will register that ThreadWatcher object and activate the thread watching of
138 // Construct a ThreadWatcher fo
[all...]
H A Dthread_watcher.cc126 // ThreadWatcher methods and members.
127 ThreadWatcher::ThreadWatcher(const WatchingParams& params) function in class:ThreadWatcher
151 ThreadWatcher::~ThreadWatcher() {}
154 void ThreadWatcher::StartWatching(const WatchingParams& params) {
164 base::Bind(&ThreadWatcher::StartWatching, params));
171 ThreadWatcher* watcher = new ThreadWatcher(params);
181 void ThreadWatcher
[all...]
H A Dthread_watcher_unittest.cc57 // tests until ThreadWatcher object's post-condition state changes to an
59 class CustomThreadWatcher : public ThreadWatcher {
77 : ThreadWatcher(WatchingParams(thread_id, thread_name, sleep_time,
124 ThreadWatcher::ActivateThreadWatching();
131 ThreadWatcher::DeActivateThreadWatching();
137 ThreadWatcher::PostPingMessage();
143 ThreadWatcher::OnPongMessage(ping_sequence_number);
147 ThreadWatcher::OnCheckResponsiveness(ping_sequence_number);
186 // Keep the thread that is running the tests waiting until ThreadWatcher
214 // Keep the thread that is running the tests waiting until ThreadWatcher
[all...]

Completed in 72 milliseconds