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

Issue 22594007: Implement CurrentProcessInfo::CreationTime() for Linux. (Closed)

Created:
7 years, 4 months ago by gavinp
Modified:
7 years, 4 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, erikwright+watch_chromium.org
Visibility:
Public.

Description

Implement CurrentProcessInfo::CreationTime() for Linux. With this CL, we'll now have cold start metrics on Android. R=darin BUG=None

Patch Set 1 #

Patch Set 2 : add a ScopedAllowIO #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -11 lines) Patch
M base/base.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A base/process/process_info_linux.cc View 1 1 chunk +45 lines, -0 lines 1 comment Download
M chrome/browser/chrome_browser_main.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser.cc View 2 chunks +0 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
gavinp
Now we can do Cold Start measurements on ALL the platforms.
7 years, 4 months ago (2013-08-07 16:42:22 UTC) #1
gavinp
On 2013/08/07 16:42:22, gavinp wrote: > Now we can do Cold Start measurements on ALL ...
7 years, 4 months ago (2013-08-07 16:42:44 UTC) #2
darin (slow to review)
LGTM
7 years, 4 months ago (2013-08-07 19:21:47 UTC) #3
gavinp
Darin, Please take another look. This code was failing in some downstream CLs due to ...
7 years, 4 months ago (2013-08-07 20:48:09 UTC) #4
darin (slow to review)
https://chromiumcodereview.appspot.com/22594007/diff/24001/base/process/process_info_linux.cc File base/process/process_info_linux.cc (right): https://chromiumcodereview.appspot.com/22594007/diff/24001/base/process/process_info_linux.cc#newcode28 base/process/process_info_linux.cc:28: if (!file_util::GetFileInfo(pid_path, &file_info)) maybe the code that complains about ...
7 years, 4 months ago (2013-08-07 22:30:34 UTC) #5
gavinp
On 2013/08/07 22:30:34, darin wrote: > https://chromiumcodereview.appspot.com/22594007/diff/24001/base/process/process_info_linux.cc > File base/process/process_info_linux.cc (right): > > https://chromiumcodereview.appspot.com/22594007/diff/24001/base/process/process_info_linux.cc#newcode28 > ...
7 years, 4 months ago (2013-08-07 22:56:34 UTC) #6
darin (slow to review)
LGTM On Wed, Aug 7, 2013 at 3:56 PM, <gavinp@chromium.org> wrote: > On 2013/08/07 22:30:34, ...
7 years, 4 months ago (2013-08-07 23:24:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/22594007/24001
7 years, 4 months ago (2013-08-08 19:55:43 UTC) #8
commit-bot: I haz the power
Failed to apply patch for base/base.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 4 months ago (2013-08-08 19:55:51 UTC) #9
gavinp
+simonjam, we collided on this issue. I slightly prefer the stat based approach (a lot ...
7 years, 4 months ago (2013-08-08 22:39:49 UTC) #10
gavinp
On 2013/08/08 22:39:49, gavinp wrote: > +simonjam, we collided on this issue. > > I ...
7 years, 4 months ago (2013-08-08 22:40:25 UTC) #11
James Simonsen
On 2013/08/08 22:39:49, gavinp wrote: > +simonjam, we collided on this issue. > > I ...
7 years, 4 months ago (2013-08-08 22:53:58 UTC) #12
gavinp
7 years, 4 months ago (2013-08-08 22:55:22 UTC) #13
On 2013/08/08 22:53:58, James Simonsen wrote:
> On 2013/08/08 22:39:49, gavinp wrote:
> > +simonjam, we collided on this issue.
> > 
> > I slightly prefer the stat based approach (a lot less mechanism), do you
have
> an
> > opinion?
> 
> I'd done that initially. Julien wanted the stat files, because it's much
easier
> for the sandbox.

sgtm, i'll close this issue.

Powered by Google App Engine
This is Rietveld 408576698