Home
last modified time | relevance | path

Searched refs:stat_path (Results 1 – 3 of 3) sorted by relevance

/external/autotest/client/profilers/kvm_stat/
Dkvm_stat.py28 self.stat_path = os_dep.command('kvm_stat')
35 utils.run("%s --batch" % self.stat_path)
54 cmd = "%s -l" % self.stat_path
/external/autotest/client/bin/net/
Dnet_utils_unittest.py211 stat_path = '/sys/class/net/%s/statistics/' % mock_netif._name
214 os.listdir.expect_call(stat_path).and_return(())
219 os.listdir.expect_call(stat_path).and_return(('some_stat',))
221 net_utils.open.expect_call(stat_path + 'some_stat', 'r').and_return(None)
226 os.listdir.expect_call(stat_path).and_return(('some_stat',))
228 net_utils.open.expect_call(stat_path + 'some_stat', 'r').and_return(f)
235 os.listdir.expect_call(stat_path).and_return(('stat1','stat2'))
237 net_utils.open.expect_call(stat_path + 'stat1', 'r').and_return(f)
240 net_utils.open.expect_call(stat_path + 'stat2', 'r').and_return(f)
251 stat_path = '/sys/class/net/%s/statistics/' % mock_netif._name
[all …]
/external/libchrome/base/process/
Dprocess_metrics_linux.cc149 FilePath stat_path = in GetProcessCPU() local
151 if (ReadFileToString(stat_path, &stat)) { in GetProcessCPU()