From owner-cvs-all@FreeBSD.ORG Tue Jan 9 22:12:53 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E00F916A417 for ; Tue, 9 Jan 2007 22:12:53 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id C4D1913C468 for ; Tue, 9 Jan 2007 22:12:53 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 75390 invoked from network); 9 Jan 2007 21:46:01 -0000 Received: from adsl-67-119-74-222.dsl.sntc01.pacbell.net (HELO ?10.0.0.44?) (nate-mail@67.119.74.222) by root.org with ESMTPA; 9 Jan 2007 21:46:01 -0000 Message-ID: <45A40D08.9090602@root.org> Date: Tue, 09 Jan 2007 13:45:44 -0800 From: Nate Lawson User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Kris Kennaway References: <200701060440.l064ei4Q044989@repoman.freebsd.org> <20070109205353.GA65562@xor.obsecurity.org> In-Reply-To: <20070109205353.GA65562@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, Jeff Roberson , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/tools/sched schedgraph.py X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jan 2007 22:12:54 -0000 It's too late, I already claimed rights to paint the other 24 bikesheds. ;-) Kris Kennaway wrote: > 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, >> -- Nate