HomeSort by relevance Sort by last modified time
    Searched refs:ThreadWatcher (Results 1 - 3 of 3) 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...]

Completed in 47 milliseconds