xrmx / bootchart

merge of bootchart-collector and pybootchartgui
GNU General Public License v2.0
233 stars 88 forks source link

pybootchartgui: audit division #37

Closed xrmx closed 12 years ago

xrmx commented 12 years ago

in python it returns float while in python2 it returns int, may break some assumption when dealing with pids multiplied by 1000.

rm@montag:~$ python Python 2.7.3rc2 (default, Apr 22 2012, 22:35:38) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information.

1000 / 1 1000 1000 / 1 KeyboardInterrupt

rm@montag:~$ python3.2 Python 3.2.3rc2 (default, Mar 21 2012, 06:59:51) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. 1000 / 1 1000.0