Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f910b780 authored by Chenjie Yu's avatar Chenjie Yu
Browse files

Move procstats_pkg_proc into its own wrapper

We rely on atom messages having different types to make configs.

Test: manual
Change-Id: I40a7962f4a63e8b6c5c42f5ffec944e822408f03
parent 9c14f5d1
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -216,7 +216,7 @@ message Atom {
        NumFingerprints num_fingerprints = 10031;
        DiskIo disk_io = 10032;
        PowerProfile power_profile = 10033;
        ProcStats proc_stats_pkg_proc = 10034;
        ProcStatsPkgProc proc_stats_pkg_proc = 10034;
        ProcessCpuTime process_cpu_time = 10035;
        NativeProcessMemoryState native_process_memory_state = 10036;
        CpuTimePerThreadFreq cpu_time_per_thread_freq = 10037;
@@ -3272,6 +3272,13 @@ message ProcStats {
    optional ProcessStatsSectionProto proc_stats_section = 1;
}

/**
 * Pulled from ProcessStatsService.java
 */
message ProcStatsPkgProc {
    optional ProcessStatsSectionProto proc_stats_section = 1;
}

message PowerProfileProto {
    optional double cpu_suspend = 1;