diff options
author | Guido van Rossum <guido@python.org> | 1998-09-21 14:52:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-09-21 14:52:22 (GMT) |
commit | e3f8a64906257a2954d083d2960ff7fa135ccbf9 (patch) | |
tree | 699e38f7f136c222c03da6e45089fc0ab27710b3 | |
parent | 469067800b0a34fea4b9d593770784ce1e40de58 (diff) | |
download | cpython-e3f8a64906257a2954d083d2960ff7fa135ccbf9.zip cpython-e3f8a64906257a2954d083d2960ff7fa135ccbf9.tar.gz cpython-e3f8a64906257a2954d083d2960ff7fa135ccbf9.tar.bz2 |
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.
-rwxr-xr-x | Lib/profile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/profile.py b/Lib/profile.py index df36c17..89fd887 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 |