diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2004-06-08 08:17:44 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2004-06-08 08:17:44 (GMT) |
commit | f30d60edbc0d5047a2fdd01e25868e4b814107e2 (patch) | |
tree | 426daf743461139871a9c8b79aa8f63b5f79ccf6 /configure.in | |
parent | d68d3ee3dd504661a6f5b0f5810211fef814b919 (diff) | |
download | cpython-f30d60edbc0d5047a2fdd01e25868e4b814107e2.zip cpython-f30d60edbc0d5047a2fdd01e25868e4b814107e2.tar.gz cpython-f30d60edbc0d5047a2fdd01e25868e4b814107e2.tar.bz2 |
Patch #510695: Add TSC profiling for the VM.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.in b/configure.in index cd84ea9..cff0ed3 100644 --- a/configure.in +++ b/configure.in @@ -1929,6 +1929,19 @@ fi AC_MSG_RESULT($with_doc_strings) # Check for Python-specific malloc support +AC_MSG_CHECKING(for --with-tsc) +AC_ARG_WITH(tsc, +[ --with(out)-tsc enable/disable timestamp counter profile], [ +if test "$withval" != no +then + AC_DEFINE(WITH_TSC, 1, + [Define to profile with the Pentium timestamp counter]) + AC_MSG_RESULT(yes) +else AC_MSG_RESULT(no) +fi], +[AC_MSG_RESULT(no)]) + +# Check for Python-specific malloc support AC_MSG_CHECKING(for --with-pymalloc) AC_ARG_WITH(pymalloc, AC_HELP_STRING(--with(out)-pymalloc, disable/enable specialized mallocs)) |