Home
last modified time | relevance | path

Searched refs:monitor_ (Results 1 – 10 of 10) sorted by relevance

/external/libbrillo/brillo/udev/
Dudev_monitor.cc17 UdevMonitor::UdevMonitor() : monitor_(nullptr) {} in UdevMonitor()
19 UdevMonitor::UdevMonitor(udev_monitor* monitor) : monitor_(monitor) { in UdevMonitor()
20 CHECK(monitor_); in UdevMonitor()
22 udev_monitor_ref(monitor_); in UdevMonitor()
26 if (monitor_) { in ~UdevMonitor()
27 udev_monitor_unref(monitor_); in ~UdevMonitor()
28 monitor_ = nullptr; in ~UdevMonitor()
33 int result = udev_monitor_enable_receiving(monitor_); in EnableReceiving()
38 monitor_, result); in EnableReceiving()
43 int file_descriptor = udev_monitor_get_fd(monitor_); in GetFileDescriptor()
[all …]
Dudev_monitor.h65 udev_monitor* monitor_; variable
/external/tensorflow/tensorflow/lite/profiling/
Dmemory_usage_monitor_test.cc67 monitor_ = std::make_unique<MemoryUsageMonitor>( in SetUp()
73 std::unique_ptr<MemoryUsageMonitor> monitor_ = nullptr; member in tflite::profiling::memory::MemoryUsageMonitorTest
77 monitor_->Start(); in TEST_F()
78 monitor_->Stop(); in TEST_F()
79 EXPECT_FLOAT_EQ(5.0 * (num_sleeps_ + 1), monitor_->GetPeakMemUsageInMB()); in TEST_F()
83 monitor_->Stop(); in TEST_F()
85 monitor_->GetPeakMemUsageInMB()); in TEST_F()
89 monitor_->Start(); in TEST_F()
91 monitor_->GetPeakMemUsageInMB()); in TEST_F()
95 monitor_->Stop(); in TEST_F()
[all …]
/external/libbrillo/brillo/glib/
Ddbus.h187 : proxy_(proxy), name_(name), monitor_(monitor), object_(object) {} in MonitorConnection()
190 self->monitor_(self->object_, x); in Run()
198 void (*monitor_)(void*, A1); variable
209 : proxy_(proxy), name_(name), monitor_(monitor), object_(object) {} in MonitorConnection()
212 self->monitor_(self->object_, x, y); in Run()
220 void (*monitor_)(void*, A1, A2); variable
231 : proxy_(proxy), name_(name), monitor_(monitor), object_(object) {} in MonitorConnection()
234 self->monitor_(self->object_, x, y, z); in Run()
242 void (*monitor_)(void*, A1, A2, A3); variable
253 : proxy_(proxy), name_(name), monitor_(monitor), object_(object) {} in MonitorConnection()
[all …]
/external/cronet/base/trace_event/
Dcpufreq_monitor_android_unittest.cc142 monitor_.reset(monitor); in SetUp()
146 monitor_.reset(); in TearDown()
183 monitor_->GetOrCreateTaskRunner().get()); in GetOrCreateTaskRunner()
186 CPUFreqMonitor* monitor() { return monitor_.get(); } in monitor()
193 std::unique_ptr<CPUFreqMonitor> monitor_; member in base::trace_event::CPUFreqMonitorTest
/external/vixl/src/
Dpool-manager.h398 monitor_(0) {} in PoolManager()
443 void Block() { monitor_++; } in Block()
445 bool IsBlocked() const { return monitor_ != 0; } in IsBlocked()
547 int monitor_; variable
Dinvalset-vixl.h221 int monitor_; variable
223 int monitor() const { return monitor_; } in monitor()
224 void Acquire() { monitor_++; } in Acquire()
226 monitor_--; in Release()
227 VIXL_ASSERT(monitor_ >= 0); in Release()
320 monitor_ = 0; in InvalSet()
328 VIXL_ASSERT(monitor_ == 0); in ~InvalSet()
Dpool-manager-impl.h483 if (--monitor_ == 0) { in Release()
/external/vixl/src/aarch64/
Dmacro-assembler-aarch64.cc36 if (--monitor_ == 0) { in Release()
196 if (--monitor_ == 0) { in Release()
Dmacro-assembler-aarch64.h81 monitor_ = 0; in Reset()
84 void Block() { monitor_++; } in Block()
86 bool IsBlocked() const { return monitor_ != 0; } in IsBlocked()
102 int monitor_; variable
187 void Block() { monitor_++; } in Block()
189 bool IsBlocked() const { return monitor_ != 0; } in IsBlocked()