Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
2e39d809
Kaydet (Commit)
2e39d809
authored
Tem 12, 2004
tarafından
Nicholas Bastin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix SF Bug #989066
üst
7b7acd1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
profile.py
Lib/profile.py
+4
-4
No files found.
Lib/profile.py
Dosyayı görüntüle @
2e39d809
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment