HomeSort by relevance Sort by last modified time
    Searched refs:ThreadWatcher (Results 1 - 6 of 6) sorted by null

  /external/chromium/chrome/browser/metrics/
thread_watcher.cc 16 const int ThreadWatcher::kPingCount = 3;
18 // ThreadWatcher methods and members.
19 ThreadWatcher::ThreadWatcher(const BrowserThread::ID& thread_id,
36 ThreadWatcher::~ThreadWatcher() {}
39 void ThreadWatcher::StartWatching(const BrowserThread::ID& thread_id,
52 &ThreadWatcher::StartWatching,
60 ThreadWatcher* watcher =
61 new ThreadWatcher(thread_id, thread_name, sleep_time, unresponsive_time)
    [all...]
thread_watcher.h 7 // 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
28 // ThreadWatcher::StartWatching(BrowserThread::IO, "IO", sleep_time,
56 class ThreadWatcher {
59 // create ThreadWatcher object for the given thread_id, thread_name,
63 // ThreadWatcher object and activate the thread watching of the given
92 // Construct a ThreadWatcher for the given thread_id. sleep_time_ is the
95 ThreadWatcher(const BrowserThread::ID& thread_id
    [all...]
thread_watcher_unittest.cc 47 // tests until ThreadWatcher object's post-condition state changes to an
49 class CustomThreadWatcher : public ThreadWatcher {
67 : ThreadWatcher(thread_id, thread_name, sleep_time, unresponsive_time),
112 ThreadWatcher::ActivateThreadWatching();
119 ThreadWatcher::DeActivateThreadWatching();
125 ThreadWatcher::PostPingMessage();
131 ThreadWatcher::OnPongMessage(ping_sequence_number);
136 ThreadWatcher::OnCheckResponsiveness(ping_sequence_number);
174 // Keep the thread that is running the tests waiting until ThreadWatcher
202 // Keep the thread that is running the tests waiting until ThreadWatcher
    [all...]
  /external/chromium_org/chrome/browser/metrics/
thread_watcher.h 7 // 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 {
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 for the given |thread_id|. |sleep_time| is th
    [all...]
thread_watcher_unittest.cc 56 // tests until ThreadWatcher object's post-condition state changes to an
58 class CustomThreadWatcher : public ThreadWatcher {
76 : ThreadWatcher(WatchingParams(thread_id, thread_name, sleep_time,
123 ThreadWatcher::ActivateThreadWatching();
130 ThreadWatcher::DeActivateThreadWatching();
136 ThreadWatcher::PostPingMessage();
142 ThreadWatcher::OnPongMessage(ping_sequence_number);
146 ThreadWatcher::OnCheckResponsiveness(ping_sequence_number);
183 // Keep the thread that is running the tests waiting until ThreadWatcher
211 // Keep the thread that is running the tests waiting until ThreadWatcher
    [all...]
thread_watcher.cc 120 // ThreadWatcher methods and members.
121 ThreadWatcher::ThreadWatcher(const WatchingParams& params)
145 ThreadWatcher::~ThreadWatcher() {}
148 void ThreadWatcher::StartWatching(const WatchingParams& params) {
158 base::Bind(&ThreadWatcher::StartWatching, params));
165 ThreadWatcher* watcher = new ThreadWatcher(params);
175 void ThreadWatcher::ActivateThreadWatching()
    [all...]

Completed in 87 milliseconds