mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-profile: add RAPL-based SysprofEnergyUsage
This does what we did previously with RAPL via sysprofd, with the new SysprofInstrument API.
This commit is contained in:
@ -119,6 +119,7 @@ main (int argc,
|
||||
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_energy_usage_new ());
|
||||
sysprof_profiler_add_instrument (profiler, sysprof_memory_usage_new ());
|
||||
sysprof_profiler_add_instrument (profiler, sysprof_network_usage_new ());
|
||||
sysprof_profiler_add_instrument (profiler, sysprof_sampler_new ());
|
||||
|
||||
Reference in New Issue
Block a user