cpumonitor_unittest.cc | 90 void OnCpuLoad(int current_cpus, int cpus, float proc_load, float sys_load) { 91 current_cpus_ = current_cpus; 98 int current_cpus() const { return current_cpus_; } function in class:talk_base::CpuLoadListener 339 int current_cpus = sampler.GetCurrentCpus(); local 341 LOG(LS_INFO) << "Current Cpus: " << std::setw(9) << current_cpus; 345 EXPECT_GT(current_cpus, 0); 346 EXPECT_LE(current_cpus, cpus); 391 EXPECT_GT(listener.current_cpus(), 0);
|