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
43f1b8d6
Kaydet (Commit)
43f1b8d6
authored
Ock 24, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added optional interface for dynamic execution profile (to be gathered
in ceval.c).
üst
b3f515af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
sysmodule.c
Python/sysmodule.c
+11
-2
No files found.
Python/sysmodule.c
Dosyayı görüntüle @
43f1b8d6
...
...
@@ -194,21 +194,30 @@ sys_getcounts(self, args)
extern
PyObject
*
_Py_GetObjects
Py_PROTO
((
PyObject
*
,
PyObject
*
));
#endif
#ifdef DYNAMIC_EXECUTION_PROFILE
/* Defined in ceval.c because it uses static globals if that file */
extern
PyObject
*
_Py_GetDXProfile
Py_PROTO
((
PyObject
*
,
PyObject
*
));
#endif
static
struct
methodlist
sys_methods
[]
=
{
/* Might as well keep this in alphabetic order */
{
"exit"
,
sys_exit
,
0
},
{
"getrefcount"
,
sys_getrefcount
,
0
},
#ifdef COUNT_ALLOCS
{
"getcounts"
,
sys_getcounts
,
0
},
#endif
#ifdef DYNAMIC_EXECUTION_PROFILE
{
"getdxp"
,
_Py_GetDXProfile
,
1
},
#endif
#ifdef Py_TRACE_REFS
{
"getobjects"
,
_Py_GetObjects
,
1
},
#endif
{
"getrefcount"
,
sys_getrefcount
,
0
},
#ifdef USE_MALLOPT
{
"mdebug"
,
sys_mdebug
,
0
},
#endif
{
"setcheckinterval"
,
sys_setcheckinterval
,
1
},
{
"setprofile"
,
sys_setprofile
,
0
},
{
"settrace"
,
sys_settrace
,
0
},
{
"setcheckinterval"
,
sys_setcheckinterval
,
1
},
{
NULL
,
NULL
}
/* sentinel */
};
...
...
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