Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/telemetry/telemetry/util/
Dstatistics_unittest.py213 self.assertEquals(4, statistics.TrapezoidalRule([1, 2, 3], 1))
214 self.assertEquals(2, statistics.TrapezoidalRule([1, 2, 3], .5))
215 self.assertEquals(0, statistics.TrapezoidalRule([1, 2, 3], 0))
216 self.assertEquals(-4, statistics.TrapezoidalRule([1, 2, 3], -1))
217 self.assertEquals(3, statistics.TrapezoidalRule([-1, 2, 3], 1))
218 self.assertEquals(0, statistics.TrapezoidalRule([1], 1))
219 self.assertEquals(0, statistics.TrapezoidalRule([0], 1))
Dstatistics.py238 def TrapezoidalRule(data, dx): function
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
Dmonsoon_profiler.py56 print ' Total = %f' % statistics.TrapezoidalRule(power_samples, 1/5000.)