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
da264121
Kaydet (Commit)
da264121
authored
Ara 19, 2004
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bug #1066607: "Limitations" section of profiler docs is incorrect
üst
3a4231dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
libprofile.tex
Doc/lib/libprofile.tex
+1
-10
No files found.
Doc/lib/libprofile.tex
Dosyayı görüntüle @
da264121
...
@@ -528,16 +528,7 @@ ordering are identical to the \method{print_callers()} method.
...
@@ -528,16 +528,7 @@ ordering are identical to the \method{print_callers()} method.
\section
{
Limitations
\label
{
profile-limits
}}
\section
{
Limitations
\label
{
profile-limits
}}
There are two fundamental limitations on this profiler. The first is
One limitation has to do with accuracy of timing information.
that it relies on the Python interpreter to dispatch
\dfn
{
call
}
,
\dfn
{
return
}
, and
\dfn
{
exception
}
events. Compiled
\C
{}
code does not
get interpreted, and hence is ``invisible'' to the profiler. All time
spent in
\C
{}
code (including built-in functions) will be charged to the
Python function that invoked the
\C
{}
code. If the
\C
{}
code calls out
to some native Python code, then those calls will be profiled
properly.
The second limitation has to do with accuracy of timing information.
There is a fundamental problem with deterministic profilers involving
There is a fundamental problem with deterministic profilers involving
accuracy. The most obvious restriction is that the underlying ``clock''
accuracy. The most obvious restriction is that the underlying ``clock''
is only ticking at a rate (typically) of about .001 seconds. Hence no
is only ticking at a rate (typically) of about .001 seconds. Hence no
...
...
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