Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Issue 362533003: Fix overflow for 32-bit jiffie counter on Android. (Closed)

Created:
6 years, 5 months ago by Victor Starodub
Modified:
6 years, 5 months ago
Reviewers:
Sami
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix overflow for 32-bit jiffie counter on Android. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280635

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added unittests for the overflow. #

Total comments: 1

Patch Set 3 : Fixed comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -1 line) Patch
M tools/perf/metrics/cpu.py View 1 1 chunk +8 lines, -1 line 0 comments Download
M tools/perf/metrics/cpu_unittest.py View 1 2 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Victor Starodub
This should fix some of the flakiness in telemetry_perf_unittests tests.
6 years, 5 months ago (2014-06-30 15:37:25 UTC) #1
Sami
Thanks. Could you add a test too? https://codereview.chromium.org/362533003/diff/1/tools/perf/metrics/cpu.py File tools/perf/metrics/cpu.py (right): https://codereview.chromium.org/362533003/diff/1/tools/perf/metrics/cpu.py#newcode64 tools/perf/metrics/cpu.py:64: cpu_process_time = ...
6 years, 5 months ago (2014-06-30 15:52:26 UTC) #2
Victor Starodub
Thanks for review. Addressed comments. PTAL https://codereview.chromium.org/362533003/diff/1/tools/perf/metrics/cpu.py File tools/perf/metrics/cpu.py (right): https://codereview.chromium.org/362533003/diff/1/tools/perf/metrics/cpu.py#newcode64 tools/perf/metrics/cpu.py:64: cpu_process_time = (cpu_stats[process_type]['CpuProcessTime'] ...
6 years, 5 months ago (2014-06-30 16:15:02 UTC) #3
Sami
Thanks, lgtm. https://codereview.chromium.org/362533003/diff/20001/tools/perf/metrics/cpu_unittest.py File tools/perf/metrics/cpu_unittest.py (right): https://codereview.chromium.org/362533003/diff/20001/tools/perf/metrics/cpu_unittest.py#newcode34 tools/perf/metrics/cpu_unittest.py:34: # Test 32-bit overflow nit: Add '.' ...
6 years, 5 months ago (2014-06-30 16:25:16 UTC) #4
Victor Starodub
The CQ bit was checked by starodub@google.com
6 years, 5 months ago (2014-06-30 16:33:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/starodub@google.com/362533003/40001
6 years, 5 months ago (2014-06-30 16:34:23 UTC) #6
commit-bot: I haz the power
6 years, 5 months ago (2014-06-30 18:19:58 UTC) #7
Message was sent while issue was closed.
Change committed as 280635

Powered by Google App Engine
This is Rietveld 408576698