From 6bc6c915841766f15bc0063fcd4504d7ef3c29ca Mon Sep 17 00:00:00 2001 From: Misha Wagner Date: Fri, 16 Nov 2018 13:19:54 +0000 Subject: [PATCH] Fix issue in CpuTimePerUid where microseconds are used as milliseconds KernelUidCpuTimeReader reads microseconds, but they are written to a millisecond field in atoms.proto. Introduced in ag/3693225. See google3 change: cl/222044203 Test: build Bug: 119853118 Change-Id: I170e996aa852e28a246a98226677907bb3560371 --- cmds/statsd/src/atoms.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index e12b665d1505c..281f900d9cb94 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -1794,8 +1794,8 @@ message CpuTimePerFreq { */ message CpuTimePerUid { optional int32 uid = 1 [(is_uid) = true]; - optional uint64 user_time_millis = 2; - optional uint64 sys_time_millis = 3; + optional uint64 user_time_micros = 2; + optional uint64 sys_time_micros = 3; } /**