mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-profile: add scaffolding for battery charge
This is a SysprofInstrument that will eventually contain the contents of the sysprof-battery-source.c to get battery charge/rate/etc. Note that this is different from energy usage which will come from RAPL.
This commit is contained in:
@ -116,6 +116,7 @@ main (int argc,
|
||||
|
||||
profiler = sysprof_profiler_new ();
|
||||
|
||||
sysprof_profiler_add_instrument (profiler, sysprof_battery_charge_new ());
|
||||
sysprof_profiler_add_instrument (profiler, sysprof_cpu_usage_new ());
|
||||
sysprof_profiler_add_instrument (profiler, sysprof_disk_usage_new ());
|
||||
sysprof_profiler_add_instrument (profiler, sysprof_memory_usage_new ());
|
||||
|
||||
Reference in New Issue
Block a user