Esempio n. 1
0
 def test_get_counter(self):
     results = win_pdh.get_counter("Processor", "*", "% Processor Time")
     self.assertTrue("\\Processor(*)\\% Processor Time" in results)
Esempio n. 2
0
 def test_get_counter(self):
     results = win_pdh.get_counter('Processor', '*', '% Processor Time')
     self.assertTrue('\\Processor(*)\\% Processor Time' in results)