Home
last modified time | relevance | path

Searched refs:basetime (Results 1 – 9 of 9) sorted by relevance

/external/trappy/tests/
Dtest_baretrace.py68 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
Dtest_base.py209 basetime = thrm.data_frame.index[0]
210 thrm.normalize_time(basetime)
213 expected_last_time = last_prev_time - basetime
Dtest_ftrace.py160 basetime = trace.thermal.data_frame.index[0]
162 self.assertEqual(trace.basetime, basetime)
211 exp_inpower_first = prev_inpower_basetime - trace.basetime
214 exp_inpower_last = prev_inpower_last - trace.basetime
460 self.assertEqual(trace.basetime, 0)
/external/trappy/trappy/
Dbare_trace.py35 self.basetime = 0
69 def _normalize_time(self, basetime=None): argument
77 if basetime is not None:
78 self.basetime = basetime
81 trace_class.normalize_time(self.basetime)
Dbase.py291 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
Dftrace.py91 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/
Drunnable.py77 basetime = None variable
87 global basetime, switch_events
144 global basetime, wake_events
/external/lisa/tests/lisa/
Dtest_trace.py126 trace_end = self.trace.ftrace.basetime + self.trace.ftrace.get_duration()
/external/lisa/libs/utils/
Dtrace.py350 self.start_time = 0 if self.normalize_time else self.ftrace.basetime
1021 start_time = self.ftrace.basetime