From: Guido van Rossum Date: Mon, 21 Sep 1998 14:52:22 +0000 (+0000) Subject: Comment out 't = t[0] + t[1]' in profiler_simulation() -- this X-Git-Tag: v1.5.2a2~264 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3f8a64906257a2954d083d2960ff7fa135ccbf9;p=python 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. --- diff --git a/Lib/profile.py b/Lib/profile.py index df36c176a5..89fd88780d 100755 --- a/Lib/profile.py +++ b/Lib/profile.py @@ -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