diff options
author | jeff <jeff@FreeBSD.org> | 2007-01-06 04:40:44 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2007-01-06 04:40:44 +0000 |
commit | c164b22f4ae3c00d4fc952cd82f8b995ab7a112f (patch) | |
tree | 284f922242669b66bf620596bd23151959863955 /tools/sched/schedgraph.py | |
parent | c933a59d5623e456fbfe5da2b73f1c3c5eadc245 (diff) | |
download | FreeBSD-src-c164b22f4ae3c00d4fc952cd82f8b995ab7a112f.zip FreeBSD-src-c164b22f4ae3c00d4fc952cd82f8b995ab7a112f.tar.gz |
- Add colors for up to 8 cpus.
Diffstat (limited to 'tools/sched/schedgraph.py')
-rw-r--r-- | tools/sched/schedgraph.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/sched/schedgraph.py b/tools/sched/schedgraph.py index c76372e..2ab605a 100644 --- a/tools/sched/schedgraph.py +++ b/tools/sched/schedgraph.py @@ -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, |