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
8d197674
Kaydet (Commit)
8d197674
authored
Eki 09, 2013
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Close #19199: Remove ``PyThreadState.tick_counter`` field
üst
210871db
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
13 deletions
+4
-13
3.4.rst
Doc/whatsnew/3.4.rst
+2
-1
pystate.h
Include/pystate.h
+0
-10
NEWS
Misc/NEWS
+2
-0
ceval.c
Python/ceval.c
+0
-1
pystate.c
Python/pystate.c
+0
-1
No files found.
Doc/whatsnew/3.4.rst
Dosyayı görüntüle @
8d197674
...
...
@@ -523,7 +523,8 @@ Deprecated Python modules, functions and methods
Deprecated functions and types of the C API
-------------------------------------------
* None yet.
* The ``PyThreadState.tick_counter`` field has been value: its value was meaningless
since Python 3.2 ("new GIL").
Deprecated features
...
...
Include/pystate.h
Dosyayı görüntüle @
8d197674
...
...
@@ -100,16 +100,6 @@ typedef struct _ts {
PyObject
*
dict
;
/* Stores per-thread state */
/* XXX doesn't mean anything anymore (the comment below is obsolete)
=> deprecate or remove? */
/* tick_counter is incremented whenever the check_interval ticker
* reaches zero. The purpose is to give a useful measure of the number
* of interpreted bytecode instructions in a given thread. This
* extremely lightweight statistic collector may be of interest to
* profilers (like psyco.jit()), although nothing in the core uses it.
*/
int
tick_counter
;
int
gilstate_counter
;
PyObject
*
async_exc
;
/* Asynchronous exception to raise */
...
...
Misc/NEWS
Dosyayı görüntüle @
8d197674
...
...
@@ -10,6 +10,8 @@ Projected release date: 2013-10-20
Core and Builtins
-----------------
- Issue #19199: Remove ``PyThreadState.tick_counter`` field
- Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at
least one place so as to avoid regressions.
...
...
Python/ceval.c
Dosyayı görüntüle @
8d197674
...
...
@@ -1247,7 +1247,6 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
a try: finally: block uninterruptible. */
goto
fast_next_opcode
;
}
tstate
->
tick_counter
++
;
#ifdef WITH_TSC
ticked
=
1
;
#endif
...
...
Python/pystate.c
Dosyayı görüntüle @
8d197674
...
...
@@ -182,7 +182,6 @@ new_threadstate(PyInterpreterState *interp, int init)
tstate
->
recursion_critical
=
0
;
tstate
->
tracing
=
0
;
tstate
->
use_tracing
=
0
;
tstate
->
tick_counter
=
0
;
tstate
->
gilstate_counter
=
0
;
tstate
->
async_exc
=
NULL
;
#ifdef WITH_THREAD
...
...
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