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

Commit e3223f3d authored by Ben Blount's avatar Ben Blount
Browse files

Update usage comment for IntelligenceEventReported

Sum is a better way to use this atom as it's less error prone and has
less rounding error with computing average based on sum.

Test: build
parent d664b911
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -6250,6 +6250,6 @@ message IntelligenceEventReported {
  optional android.stats.intelligence.Status status = 2;
  optional android.stats.intelligence.Status status = 2;
  // How many times the event occured (to report a batch of high frequency events).
  // How many times the event occured (to report a batch of high frequency events).
  optional int32 count = 3;
  optional int32 count = 3;
  // How long the event took (averaged for batches).
  // How long the event took (sum of durations if count > 1)
  optional int64 duration_millis = 4;
  optional int64 duration_millis = 4;
}
}