MCPcopy Create free account
hub / github.com/ipython/ipython / __init__

Method __init__

IPython/core/magics/execution.py:79–87  ·  view source on GitHub ↗
(self, loops, repeat, best, worst, all_runs, compile_time, precision)

Source from the content-addressed store, hash-verified

77
78 """
79 def __init__(self, loops, repeat, best, worst, all_runs, compile_time, precision):
80 self.loops = loops
81 self.repeat = repeat
82 self.best = best
83 self.worst = worst
84 self.all_runs = all_runs
85 self.compile_time = compile_time
86 self._precision = precision
87 self.timings = [ dt / self.loops for dt in all_runs]
88
89 @property
90 def average(self):

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected