cvs commit: src/tools/sched schedgraph.py
Kris Kennaway
kris at obsecurity.org
Tue Jan 9 12:53:55 PST 2007
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,
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20070109/aa605da6/attachment.pgp
More information about the cvs-src
mailing list