Comment out 't = t[0] + t[1]' in profiler_simulation() -- this

function is only used when running the calibration code, and it turns
out that recent changes in the timing code caused this statement to
raise an exception.
This commit is contained in:
Guido van Rossum 1998-09-21 14:52:22 +00:00
parent 469067800b
commit e3f8a64906

View file

@ -517,7 +517,7 @@ class Profile:
# simulate an event processing activity (from user's perspective)
def profiler_simulation(self, x, y, z):
t = self.timer()
t = t[0] + t[1]
## t = t[0] + t[1]
self.ut = t