Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jan 2007 13:45:44 -0800
From:      Nate Lawson <nate@root.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        cvs-src@FreeBSD.org, Jeff Roberson <jeff@FreeBSD.org>, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/tools/sched schedgraph.py
Message-ID:  <45A40D08.9090602@root.org>
In-Reply-To: <20070109205353.GA65562@xor.obsecurity.org>
References:  <200701060440.l064ei4Q044989@repoman.freebsd.org> <20070109205353.GA65562@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45A40D08.9090602>