Date: Tue, 9 Jan 2007 15:53:53 -0500 From: Kris Kennaway <kris@obsecurity.org> To: Jeff Roberson <jeff@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/tools/sched schedgraph.py Message-ID: <20070109205353.GA65562@xor.obsecurity.org> In-Reply-To: <200701060440.l064ei4Q044989@repoman.freebsd.org> References: <200701060440.l064ei4Q044989@repoman.freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] How about up to 32 CPUs, e.g. sun4v? ;-) Kris On Sat, Jan 06, 2007 at 04:40:44AM +0000, Jeff Roberson wrote: > jeff 2007-01-06 04:40:44 UTC > > FreeBSD src repository > > Modified files: > tools/sched schedgraph.py > Log: > - Add colors for up to 8 cpus. > > Revision Changes Path > 1.9 +8 -0 src/tools/sched/schedgraph.py > http://cvsweb.FreeBSD.org/src/tools/sched/schedgraph.py.diff?r1=1.8&r2=1.9 > | =================================================================== > | RCS file: /usr/local/www/cvsroot/FreeBSD/src/tools/sched/schedgraph.py,v > | retrieving revision 1.8 > | retrieving revision 1.9 > | diff -u -p -r1.8 -r1.9 > | --- src/tools/sched/schedgraph.py 2005/11/21 21:27:40 1.8 > | +++ src/tools/sched/schedgraph.py 2007/01/06 04:40:44 1.9 > | @@ -24,7 +24,7 @@ > | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF > | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > | # > | -# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/tools/sched/schedgraph.py,v 1.8 2005/11/21 21:27:40 scottl Exp $ > | +# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/tools/sched/schedgraph.py,v 1.9 2007/01/06 04:40:44 jeff Exp $ > | > | import sys > | import re > | @@ -739,6 +739,14 @@ class EventSource: > | color = 'light blue' > | elif (cpu == 3): > | color = 'light green' > | + elif (cpu == 4): > | + color = 'blanched almond' > | + elif (cpu == 5): > | + color = 'slate grey' > | + elif (cpu == 6): > | + color = 'light slate blue' > | + elif (cpu == 7): > | + color = 'thistle' > | else: > | color = "white" > | l = canvas.create_rectangle(self.cpux, > [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFpADhWry0BWjoQKURAleAAJ47G5YIpRETGfIeQ+Y7p7yAWNrtcgCgrZvE 51N+rlVOIWi0IkZBzbeYMlk= =B2T/ -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070109205353.GA65562>
