mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
Fix SF Bug #989066
This commit is contained in:
parent
7b7acd1de5
commit
2e39d80925
1 changed files with 4 additions and 4 deletions
|
@ -216,7 +216,7 @@ class Profile:
|
|||
t = t[0] + t[1] - self.t - self.bias
|
||||
|
||||
if event == "c_call":
|
||||
self.c_func_name = arg
|
||||
self.c_func_name = repr(arg)
|
||||
|
||||
if self.dispatch[event](self, frame,t):
|
||||
t = timer()
|
||||
|
@ -233,7 +233,7 @@ class Profile:
|
|||
t = timer() - self.t - self.bias
|
||||
|
||||
if event == "c_call":
|
||||
self.c_func_name = arg
|
||||
self.c_func_name = repr(arg)
|
||||
|
||||
if self.dispatch[event](self, frame, t):
|
||||
self.t = timer()
|
||||
|
@ -248,7 +248,7 @@ class Profile:
|
|||
t = timer()/60.0 - self.t - self.bias
|
||||
|
||||
if event == "c_call":
|
||||
self.c_func_name = arg
|
||||
self.c_func_name = repr(arg)
|
||||
|
||||
if self.dispatch[event](self, frame, t):
|
||||
self.t = timer()/60.0
|
||||
|
@ -262,7 +262,7 @@ class Profile:
|
|||
t = get_time() - self.t - self.bias
|
||||
|
||||
if event == "c_call":
|
||||
self.c_func_name = arg
|
||||
self.c_func_name = repr(arg)
|
||||
|
||||
if self.dispatch[event](self, frame, t):
|
||||
self.t = get_time()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue