-
Notifications
You must be signed in to change notification settings - Fork 19
Description
@tursulin has a prototype GPU meter for Intel:
https://github.com/tursulin/xosview/tree/gpumeter
This could probably be polished into something ready for merge. Some questions I had from a quick glance:
- why it's modifying the shared meter code
- whether Intel gets a monopoly on being "gpumeter"; should the same meter be ready to handle different GPU types, or should they all be separate
Turning this from a "do not merge" Pull request to an open task.
This is just a quick&dirty sketch - DO NOT MERGE IT please.
My C++ is rusty, error handling is missing, graph drawing is poor, and most importantly question is whether xosview as a project wants something like this when it is specific to Intel GPUs in the first place. It's a sketch only. Feel free to peek inside, try it out and let me know your thoughts.
[needs CAP_PERFMON or relaxation of /proc/sys/kernel/perf_event_paranoid]
todo:
error handling (logging?)
fix line drawingSigned-off-by: Tvrtko Ursulin tvrtko.ursulin@intel.com