Chris Wilson
eb799b2994
overlay: Hide kworker threads in overview
...
The kworker threads are used for flip handling and other non-userspace
driver tasks. They are non-blocking and so do not impact upon how
userspace performs, but they do obscure that information in the
overview.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-12-21 13:56:04 +00:00
Chris Wilson
4d3e10d216
overlay: Some very raw usage information
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-09-22 19:01:31 +01:00
Chris Wilson
59f134450d
overlay: Increase idle timeout to 30s
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-29 13:33:58 +01:00
Chris Wilson
2b961d9573
overlay: Hide idle processes
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-29 13:33:58 +01:00
Chris Wilson
2f297ed2b7
overlay: Autohide Flip counter after a period of inactivity
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-29 13:33:58 +01:00
Chris Wilson
474ce5396e
overlay: Monitor per-ring context switch rate
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-29 13:33:58 +01:00
Chris Wilson
75ef36713a
overlay: Make it easier to renice
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-28 14:04:27 +01:00
Chris Wilson
9bebbbc49b
overlay: Generate unique name for snapshots
...
Since we no longer increment the counter every frame, we need to use a
timestamp instead.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-28 14:04:27 +01:00
Chris Wilson
a18023f678
overlay: Add number of running processes to CPU display
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27 23:52:03 +01:00
Chris Wilson
11567e318e
overlay: Include the core count in the cpu info line
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27 17:51:51 +01:00
Chris Wilson
c6b26c5a40
overlay: Scale the CPU busy value by the numer of active cores
...
Having 100% always mean one processor fully utilised is much easier to
understand (than having to remember how many cores are on each machine
and scale appropriately).
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27 17:43:46 +01:00
Chris Wilson
b1d2a78a5d
overlay: Restore the correct default font size
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27 15:43:38 +01:00
Chris Wilson
65d2481900
overlay: read rc6 status from perf
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27 15:23:10 +01:00
Chris Wilson
87b66f4cf0
overlay: Set the text color in case we do not have RC6
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27 14:26:22 +01:00
Chris Wilson
396fa1b3f5
overlay: improve alignment of some labels
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27 13:06:58 +01:00
Chris Wilson
1c3fd70357
overlay: Read power from perf_events
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27 12:31:13 +01:00
Chris Wilson
6ec1d2c0ae
overlay: Align the process names in the memory table
...
And use a shade of gray to distinguish from the total instead.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-26 23:39:01 +01:00
Chris Wilson
04a4fae32e
overlay: Trim the padding slightly
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-26 14:46:29 +01:00
Chris Wilson
908df374a9
overlay: Count number of semaphores used by each process
...
This required me to contract the per-process information considerably,
hopefully readability is not sacrificed too much.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-26 14:34:05 +01:00
Chris Wilson
1e65d5ac2f
overlay: Allow simple positioning and resizing
...
Using window.size=<width>x<height> or window.size=<scale>% in
the config file, or --size=<scale>% or --size=<width>x<height>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25 23:44:35 +01:00
Chris Wilson
c9f0173764
overlay: Monitor interrupts
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25 20:14:13 +01:00
Chris Wilson
39f9812315
overlay: Detach from terminal
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25 15:18:39 +01:00
Chris Wilson
d929102591
overlay: Add a raw kms output
...
For when you don't have any display server, use brute force.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25 13:34:31 +01:00
Chris Wilson
20a25f5eaf
overlay: Draw the cpu busy line on top of the waits
...
By drawing it behind the waits, it is obscured by the translucent waits.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25 13:34:31 +01:00
Chris Wilson
a932c73ab7
overlay: simplify types for object counts for 32/64bit porting
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25 13:34:31 +01:00
Chris Wilson
68c63ddd36
overlay: Expose sampling period/frequency as a user parameter
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25 13:34:31 +01:00
Chris Wilson
ea80196d9f
overlay: Replace debug ticker with hostname
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-22 22:53:00 +01:00
Chris Wilson
92a2f8010b
overlay: Double buffer the x11 window
...
For pleasant remote transport.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-22 19:21:13 +01:00
Chris Wilson
7c52a3cf52
overlay: Rudiments of config files and option parsing
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-22 15:28:02 +01:00
Chris Wilson
184786988e
overlay: Fill the blank charts with error messages
...
Instead of showing nothing, show a "space left intentionally blank"
message.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-22 10:59:58 +00:00
Chris Wilson
db35f8c6ad
overlay: Put a faint outline around each chart
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-21 13:36:51 +01:00
Chris Wilson
e34fab5d2b
overlay: Fade the graphs behind the text
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-21 11:11:53 +01:00
Chris Wilson
0b78c1632c
overlay: Fix display of rc6 states
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20 21:58:22 +01:00
Chris Wilson
b98bade56e
overlay: Add copyright statements
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20 21:39:27 +01:00
Chris Wilson
5cb8c77d69
overlay: Take a snapshot on SIGUSR1
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20 21:30:56 +01:00
Chris Wilson
c888507b68
overlay: use rc6_enable to drop useless information
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20 11:08:13 +01:00
Chris Wilson
5c81cda0ff
overlay: Add graph for GPU power consumption
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20 10:26:23 +01:00
Chris Wilson
baa5be07d6
overlay: Add rc6 residency
...
Not much point at the moment since we use forcewake to continuously
probe the GPU busyness. But that will eventually change to a more
power-efficient in-kernel.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20 10:03:47 +01:00
Chris Wilson
00282ed458
overlay: Wrap the colour index around the rgba array
...
And stop assigning colours beyond the end of the array. Still needs a
better method for colour assignment, big list of good colours & ida?
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-19 23:29:08 +01:00
Chris Wilson
f71d7aeb77
overlay: Add missing include "debugfs.h"
...
Later versions of gcc are apparently stricter.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-19 22:26:01 +01:00
Chris Wilson
55b8c33ca5
overlay: Auatomatically mount debugfs
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-19 18:16:11 +01:00
Chris Wilson
3df8300e23
overlay: Tweak label locations to include baseline offset.
...
Still approximately, too lazy to query the metrics.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-19 08:20:15 +01:00
Chris Wilson
34e4780c8e
overlay: Add a X11 window backend
...
Useful for remote hosts.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 21:10:26 +01:00
Chris Wilson
1c1a279806
overlay: Tweak a couple of the fill colours to be slightly less horrid
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 19:21:02 +01:00
Chris Wilson
1391ae08eb
overlay: Don't smooth gpu freq
...
This is supposed to be discrete jumps, so use straight lines to emphasis
this nature.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 19:21:02 +01:00
Chris Wilson
5d41b13824
overlay: Remove the double ':' from object comm names
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 18:55:12 +01:00
Chris Wilson
6a38200b87
overlay: Use a more compact 2x2 layout for the graphs
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 18:51:22 +01:00
Chris Wilson
74032f4b45
overlay: Rearrange GUI state
...
Planning a new layout...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 18:40:03 +01:00
Chris Wilson
7d950fa6f2
overlay: Print min/max GPU frequencies.
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 18:27:47 +01:00
Chris Wilson
3f5129471f
overlay: Convert gem objects to megabytes
...
Less confusing, I hope.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 18:24:43 +01:00