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

Issue 2112006: Cleaned up some constants for stats reading (Closed)

Created:
10 years, 7 months ago by DaveMoore
Modified:
9 years, 7 months ago
Reviewers:
Nikita (slow)
CC:
chromium-reviews, jam+cc_chromium.org, nkostylev+cc_chromium.org, ben+cc_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

- Made the writing of boot times happen on the file thread. - Also combined two different ways of writing these times into common code. - Tweaked the color / font of the output BUG=NONE TEST=Ensure that boot times still display on login screen. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=47682

Patch Set 1 #

Patch Set 2 : Had trackpad logs in...needed to removed them #

Patch Set 3 : Extra doc #

Total comments: 13

Patch Set 4 : Review mods #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -91 lines) Patch
M chrome/app/chrome_dll_main.cc View 1 2 2 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/browser_main.cc View 1 2 3 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/chromeos/boot_times_loader.h View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/boot_times_loader.cc View 1 2 3 4 chunks +84 lines, -58 lines 0 comments Download
M chrome/browser/chromeos/browser_notification_observers.cc View 3 chunks +4 lines, -23 lines 0 comments Download
M chrome/browser/chromeos/login/background_view.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
DaveMoore
10 years, 7 months ago (2010-05-17 02:07:27 UTC) #1
Nikita (slow)
http://codereview.chromium.org/2112006/diff/11/4003 File chrome/browser/chromeos/boot_times_loader.cc (right): http://codereview.chromium.org/2112006/diff/11/4003#newcode165 chrome/browser/chromeos/boot_times_loader.cc:165: RecordStats("chrome-main", chrome_main_stats_); kChromeMain http://codereview.chromium.org/2112006/diff/11/4004 File chrome/browser/chromeos/boot_times_loader.h (right): http://codereview.chromium.org/2112006/diff/11/4004#newcode47 chrome/browser/chromeos/boot_times_loader.h:47: ...
10 years, 7 months ago (2010-05-17 07:40:06 UTC) #2
DaveMoore
http://codereview.chromium.org/2112006/diff/11/4003 File chrome/browser/chromeos/boot_times_loader.cc (right): http://codereview.chromium.org/2112006/diff/11/4003#newcode165 chrome/browser/chromeos/boot_times_loader.cc:165: RecordStats("chrome-main", chrome_main_stats_); On 2010/05/17 07:40:07, Nikita Kostylev wrote: > ...
10 years, 7 months ago (2010-05-18 17:44:36 UTC) #3
Nikita (slow)
10 years, 7 months ago (2010-05-18 20:33:04 UTC) #4
LGTM

http://codereview.chromium.org/2112006/diff/11/4004
File chrome/browser/chromeos/boot_times_loader.h (right):

http://codereview.chromium.org/2112006/diff/11/4004#newcode68
chrome/browser/chromeos/boot_times_loader.h:68: static void
RecordCurrentStats(const std::string& name);
I see. Initially I thought that one could register such custom stats and use it
later from Chrome.

Powered by Google App Engine
This is Rietveld 408576698