Home
last modified time | relevance | path

Searched refs:Watchdog (Results 1 – 25 of 88) sorted by relevance

1234

/external/perfetto/src/base/
Dwatchdog_posix.cc84 Watchdog::Watchdog(uint32_t polling_interval_ms) in Watchdog() function in perfetto::base::Watchdog
87 Watchdog::~Watchdog() { in ~Watchdog()
98 Watchdog* Watchdog::GetInstance() { in GetInstance()
99 static Watchdog* watchdog = new Watchdog(kDefaultPollingInterval); in GetInstance()
103 Watchdog::Timer Watchdog::CreateFatalTimer(uint32_t ms) { in CreateFatalTimer()
105 return Watchdog::Timer(0); in CreateFatalTimer()
107 return Watchdog::Timer(ms); in CreateFatalTimer()
110 void Watchdog::Start() { in Start()
121 thread_ = std::thread(&Watchdog::ThreadMain, this); in Start()
126 void Watchdog::SetMemoryLimit(uint64_t bytes, uint32_t window_ms) { in SetMemoryLimit()
[all …]
Dwatchdog_unittest.cc39 class TestWatchdog : public Watchdog {
42 : Watchdog(polling_interval_ms) {} in TestWatchdog()
66 std::map<int, Watchdog::Timer> timers; in TEST()
/external/libchrome/base/threading/
Dwatchdog.cc42 Watchdog::Watchdog(const TimeDelta& duration, in Watchdog() function in base::Watchdog
61 Watchdog::~Watchdog() { in ~Watchdog()
69 void Watchdog::Cleanup() { in Cleanup()
77 bool Watchdog::IsJoinable() { in IsJoinable()
84 void Watchdog::Arm() { in Arm()
88 void Watchdog::ArmSomeTimeDeltaAgo(const TimeDelta& time_delta) { in ArmSomeTimeDeltaAgo()
93 void Watchdog::ArmAtStartTime(const TimeTicks start_time) { in ArmAtStartTime()
103 void Watchdog::Disarm() { in Disarm()
110 void Watchdog::Alarm() { in Alarm()
117 void Watchdog::ThreadDelegate::ThreadMain() { in ThreadMain()
[all …]
Dwatchdog_unittest.cc21 class WatchdogCounter : public Watchdog {
26 : Watchdog(duration, thread_watched_name, enabled), in WatchdogCounter()
34 Watchdog::Alarm(); in Alarm()
47 void SetUp() override { Watchdog::ResetStaticData(); } in SetUp()
57 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); in TEST_F()
58 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true); in TEST_F()
63 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); in TEST_F()
69 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true); in TEST_F()
Dwatchdog.h33 class BASE_EXPORT Watchdog {
36 Watchdog(const TimeDelta& duration,
39 virtual ~Watchdog();
67 explicit ThreadDelegate(Watchdog* watchdog) : watchdog_(watchdog) { in ThreadDelegate()
74 Watchdog* watchdog_;
91 DISALLOW_COPY_AND_ASSIGN(Watchdog);
/external/llvm-project/llvm/include/llvm/Support/
DWatchdog.h25 class Watchdog {
27 Watchdog(unsigned int seconds);
28 ~Watchdog();
31 Watchdog(const Watchdog &other) = delete;
32 Watchdog &operator=(const Watchdog &other) = delete;
/external/llvm/include/llvm/Support/
DWatchdog.h26 class Watchdog {
28 Watchdog(unsigned int seconds);
29 ~Watchdog();
32 Watchdog(const Watchdog &other) = delete;
33 Watchdog &operator=(const Watchdog &other) = delete;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DWatchdog.h25 class Watchdog {
27 Watchdog(unsigned int seconds);
28 ~Watchdog();
31 Watchdog(const Watchdog &other) = delete;
32 Watchdog &operator=(const Watchdog &other) = delete;
/external/perfetto/include/perfetto/ext/base/
Dwatchdog_posix.h42 class Watchdog {
52 friend class Watchdog;
60 virtual ~Watchdog();
62 static Watchdog* GetInstance();
86 Watchdog(uint32_t polling_interval_ms);
129 explicit Watchdog(const Watchdog&) = delete;
130 Watchdog& operator=(const Watchdog&) = delete;
Dwatchdog_noop.h25 class Watchdog {
34 static Watchdog* GetInstance() { in GetInstance()
35 static Watchdog* watchdog = new Watchdog(); in GetInstance()
Dwatchdog.h56 Watchdog::Timer handle = in RunTaskWithWatchdogGuard()
57 base::Watchdog::GetInstance()->CreateFatalTimer(kWatchdogMillis); in RunTaskWithWatchdogGuard()
/external/llvm/lib/Support/Unix/
DWatchdog.inc1 //===--- Unix/Watchdog.inc - Unix Watchdog Implementation -------*- C++ -*-===//
10 // This file provides the generic Unix implementation of the Watchdog class.
20 Watchdog::Watchdog(unsigned int seconds) {
26 Watchdog::~Watchdog() {
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DWatchdog.inc1 //===--- Unix/Watchdog.inc - Unix Watchdog Implementation -------*- C++ -*-===//
10 // This file provides the generic Unix implementation of the Watchdog class.
20 Watchdog::Watchdog(unsigned int seconds) {
26 Watchdog::~Watchdog() {
/external/llvm-project/llvm/lib/Support/Unix/
DWatchdog.inc1 //===--- Unix/Watchdog.inc - Unix Watchdog Implementation -------*- C++ -*-===//
9 // This file provides the generic Unix implementation of the Watchdog class.
21 Watchdog::Watchdog(unsigned int seconds) {
27 Watchdog::~Watchdog() {
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DWatchdog.inc1 //===--- Unix/Watchdog.inc - Unix Watchdog Implementation -------*- C++ -*-===//
9 // This file provides the generic Unix implementation of the Watchdog class.
21 Watchdog::Watchdog(unsigned int seconds) {
27 Watchdog::~Watchdog() {
/external/llvm/lib/Support/Windows/
DWatchdog.inc1 //===--- Windows/Watchdog.inc - Windows Watchdog Implementation -*- C++ -*-===//
10 // This file provides the generic Windows implementation of the Watchdog class.
21 Watchdog::Watchdog(unsigned int seconds) {}
22 Watchdog::~Watchdog() {}
/external/llvm-project/llvm/lib/Support/Windows/
DWatchdog.inc1 //===--- Windows/Watchdog.inc - Windows Watchdog Implementation -*- C++ -*-===//
9 // This file provides the generic Windows implementation of the Watchdog class.
20 Watchdog::Watchdog(unsigned int seconds) {}
21 Watchdog::~Watchdog() {}
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DWatchdog.inc1 //===--- Windows/Watchdog.inc - Windows Watchdog Implementation -*- C++ -*-===//
9 // This file provides the generic Windows implementation of the Watchdog class.
20 Watchdog::Watchdog(unsigned int seconds) {}
21 Watchdog::~Watchdog() {}
/external/llvm-project/compiler-rt/test/lsan/TestCases/Linux/
Dlibdl_deadlock.cpp29 void Watchdog() { in Watchdog() function
46 std::thread w(Watchdog); in main()
/external/perfetto/src/traced/probes/
Dprobes.cc75 base::Watchdog* watchdog = base::Watchdog::GetInstance(); in ProbesMain()
/external/okhttp/okio/okio/src/main/java/okio/
DAsyncTimeout.java77 new Watchdog().start(); in scheduleTimeout()
277 private static final class Watchdog extends Thread {
278 public Watchdog() {
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DAsyncTimeout.java79 new Watchdog().start(); in scheduleTimeout()
279 private static final class Watchdog extends Thread {
280 public Watchdog() {
/external/perfetto/src/traced/service/
Dservice.cc201 base::Watchdog* watchdog = base::Watchdog::GetInstance(); in ServiceMain()
/external/pigweed/pw_rpc/py/pw_rpc/console_tools/
D__init__.py18 from pw_rpc.console_tools.watchdog import Watchdog
/external/okio/okio/src/jvmMain/kotlin/okio/
DAsyncTimeout.kt173 private class Watchdog internal constructor() : Thread("Okio Watchdog") { class in okio.AsyncTimeout
231 Watchdog().start() in scheduleTimeout()

1234