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
c3e5b10a
Kaydet (Commit)
c3e5b10a
authored
Eki 07, 2012
tarafından
Andrew Svetlov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #14900: Add aliases for sorting params for pstat to follow column names from pstat output.
Patch by Arne Babenhauserheide.
üst
2ef4584e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
pstats.py
Lib/pstats.py
+4
-0
No files found.
Lib/pstats.py
Dosyayı görüntüle @
c3e5b10a
...
...
@@ -159,8 +159,11 @@ class Stats:
# along with some printable description
sort_arg_dict_default
=
{
"calls"
:
(((
1
,
-
1
),
),
"call count"
),
"ncalls"
:
(((
1
,
-
1
),
),
"call count"
),
"cumtime"
:
(((
3
,
-
1
),
),
"cumulative time"
),
"cumulative"
:
(((
3
,
-
1
),
),
"cumulative time"
),
"file"
:
(((
4
,
1
),
),
"file name"
),
"filename"
:
(((
4
,
1
),
),
"file name"
),
"line"
:
(((
5
,
1
),
),
"line number"
),
"module"
:
(((
4
,
1
),
),
"file name"
),
"name"
:
(((
6
,
1
),
),
"function name"
),
...
...
@@ -168,6 +171,7 @@ class Stats:
"pcalls"
:
(((
0
,
-
1
),
),
"primitive call count"
),
"stdname"
:
(((
7
,
1
),
),
"standard name"
),
"time"
:
(((
2
,
-
1
),
),
"internal time"
),
"tottime"
:
(((
2
,
-
1
),
),
"internal time"
),
}
def
get_sort_arg_defs
(
self
):
...
...
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