[Python-checkins] python/dist/src/Misc SpecialBuilds.txt, 1.15, 1.16 NEWS, 1.1083, 1.1084

mwh at users.sourceforge.net mwh at users.sourceforge.net
Thu Aug 12 20:19:20 CEST 2004


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3386/Misc

Modified Files:
	SpecialBuilds.txt NEWS 
Log Message:
This is my patch:

[ 1005891 ] support --with-tsc on PPC

plus a trivial change to settscdump's docstring and a Misc/NEWS entry.


Index: SpecialBuilds.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/SpecialBuilds.txt,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** SpecialBuilds.txt	18 Apr 2003 00:45:58 -0000	1.15
--- SpecialBuilds.txt	12 Aug 2004 18:19:17 -0000	1.16
***************
*** 228,229 ****
--- 228,254 ----
  about what kind of object was called and whether the call hit any of
  the special fast paths in the code.
+ 
+ ---------------------------------------------------------------------------
+ WITH_TSC                                          introduced for Python 2.4
+ 
+ Super-lowlevel profiling of the interpreter.  When enabled, the sys
+ module grows a new function:
+ 
+ settscdump(bool)
+     If true, tell the Python interpreter to dump VM measurements to
+     stderr.  If false, turn off dump.  The measurements are based on the
+     processor's time-stamp counter.
+ 
+ This build option requires a small amount of platform specific code.
+ Currently this code is present for linux/x86 and any PowerPC platform
+ that uses GCC (i.e. OS X and linux/ppc).
+ 
+ On the PowerPC the rate at which the time base register is incremented
+ is not defined by the architecture specification, so you'll need to
+ find the manual for your specific processor.  For the 750CX, 750CXe,
+ 750FX (all sold as the G3) we find:
+ 
+     The time base counter is clocked at a frequency that is 
+     one-fourth that of the bus clock.
+ 
+ This build is enabled by the --with-tsc flag to configure.

Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1083
retrieving revision 1.1084
diff -C2 -d -r1.1083 -r1.1084
*** NEWS	12 Aug 2004 18:12:44 -0000	1.1083
--- NEWS	12 Aug 2004 18:19:17 -0000	1.1084
***************
*** 58,61 ****
--- 58,64 ----
  -----
  
+ - The --with-tsc flag to configure to enable VM profiling with the
+   processor's timestamp counter now works on PPC platforms.
+ 
  C API
  -----



More information about the Python-checkins mailing list