A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-June/015476.html below:

[Python-Dev] OS timer and profiling Python code

[Python-Dev] OS timer and profiling Python code [Python-Dev] OS timer and profiling Python codeNeil Schemenauer nas@python.ca
Tue, 19 Jun 2001 15:12:49 -0700
On x86 hardware the Linux timer runs at 100 Hz by default.  On
modern hardware that is probably much too slow to accurately
profile programs using the Python profiler.  Changing the value
in include/asm-i386/param.h from 100 to 1024 and recompiling the
kernel made a huge difference for me.  Perhaps we should include
a note in the profiler documentation.  I'm not sure if this
affects gprof as well but I suspect it does.

   Neil



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4