Searched refs:basetime (Results 1 – 9 of 9) sorted by relevance
/external/trappy/tests/ |
D | test_baretrace.py | 68 basetime = self.dfr[0].index[0] 69 trace._normalize_time(basetime) 71 expected_duration = self.dfr[1].index[-1] - basetime 81 basetime = 3 83 trace._normalize_time(basetime) 85 self.assertEquals(trace.basetime, basetime) 87 exp_first_time = prev_first_time - basetime
|
D | test_ftrace.py | 160 basetime = trace.thermal.data_frame.index[0] 162 self.assertEqual(trace.basetime, basetime) 195 exp_inpower_first = prev_inpower_basetime - trace.basetime 198 exp_inpower_last = prev_inpower_last - trace.basetime 424 self.assertEqual(trace.basetime, 0)
|
D | test_base.py | 209 basetime = thrm.data_frame.index[0] 210 thrm.normalize_time(basetime) 213 expected_last_time = last_prev_time - basetime
|
/external/trappy/trappy/ |
D | bare_trace.py | 35 self.basetime = 0 54 return max(durations) - self.basetime 70 def _normalize_time(self, basetime=None): argument 78 if basetime is not None: 79 self.basetime = basetime 82 trace_class.normalize_time(self.basetime)
|
D | base.py | 291 def normalize_time(self, basetime): argument 298 if basetime and not self.data_frame.empty: 300 self.data_frame["Time"] = self.data_frame["Time"] - basetime
|
D | ftrace.py | 91 self.basetime = float(f.read()) 121 f.write(str(self.basetime)) 309 if not self.basetime: 310 self.basetime = timestamp 312 if (timestamp < self.window[0] + self.basetime) or \ 317 if (self.window[1] and timestamp > self.window[1] + self.basetime) or \
|
/external/lisa/tools/analysis/ |
D | runnable.py | 61 basetime = None variable 71 global basetime, switch_events 128 global basetime, wake_events
|
/external/autotest/site_utils/suite_scheduler/ |
D | timed_event_unittest.py | 293 basetime = datetime.datetime(2012, 1, 1, self._HOUR) 294 return basetime
|
/external/lisa/libs/utils/ |
D | trace.py | 296 self.window = (self.ftrace.basetime + start, 297 self.ftrace.basetime + duration) 1022 start_time = self.ftrace.basetime
|