Searched refs:TrapezoidalRule (Results 1 – 3 of 3) sorted by relevance
/external/chromium-trace/catapult/telemetry/telemetry/util/ |
D | statistics_unittest.py | 213 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))
|
D | statistics.py | 238 def TrapezoidalRule(data, dx): function
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
D | monsoon_profiler.py | 56 print ' Total = %f' % statistics.TrapezoidalRule(power_samples, 1/5000.)
|