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

Issue 8803022: Windows-native sampling profiler wrapper class. (Closed)

Created:
9 years ago by Sigurður Ásgeirsson
Modified:
9 years ago
CC:
chromium-reviews, Paweł Hajdan Jr., brettw-cc_chromium.org, cbentzel
Visibility:
Public.

Description

Windows-native sampling profiler wrapper class. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113473

Patch Set 1 #

Total comments: 21

Patch Set 2 : Address M-A's and Joi's comments. #

Patch Set 3 : Implement & test Get|SetSamplingInterval. #

Total comments: 2

Patch Set 4 : Fix 64 bit breakage. #

Patch Set 5 : Fix gtest include to match other tests. #

Patch Set 6 : Spin for a max wall-clock amount oftime, or until a sample has accrued. #

Patch Set 7 : Unittest no longer hanging on trybots. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+426 lines, -0 lines) Patch
M base/base.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M base/base.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A base/win/sampling_profiler.h View 1 1 chunk +74 lines, -0 lines 0 comments Download
A base/win/sampling_profiler.cc View 1 2 3 1 chunk +233 lines, -0 lines 0 comments Download
A base/win/sampling_profiler_unittest.cc View 1 2 3 4 5 6 1 chunk +116 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Sigurður Ásgeirsson
This is the first-cut implementation of the sampling profiler wrapper class. Please review the interface ...
9 years ago (2011-12-05 20:50:54 UTC) #1
M-A Ruel
http://codereview.chromium.org/8803022/diff/1/base/win/sampling_profiler.cc File base/win/sampling_profiler.cc (right): http://codereview.chromium.org/8803022/diff/1/base/win/sampling_profiler.cc#newcode129 base/win/sampling_profiler.cc:129: DCHECK(size != 0); DCHECK_NE()? http://codereview.chromium.org/8803022/diff/1/base/win/sampling_profiler_unittest.cc File base/win/sampling_profiler_unittest.cc (right): http://codereview.chromium.org/8803022/diff/1/base/win/sampling_profiler_unittest.cc#newcode70 ...
9 years ago (2011-12-06 01:52:12 UTC) #2
Jói
http://codereview.chromium.org/8803022/diff/1/base/win/sampling_profiler.cc File base/win/sampling_profiler.cc (right): http://codereview.chromium.org/8803022/diff/1/base/win/sampling_profiler.cc#newcode7 base/win/sampling_profiler.cc:7: #include <winternl.h> // for NTSTATUS. space between include sections, ...
9 years ago (2011-12-06 12:36:54 UTC) #3
Sigurður Ásgeirsson
Thanks, please take another look. http://codereview.chromium.org/8803022/diff/1/base/win/sampling_profiler.cc File base/win/sampling_profiler.cc (right): http://codereview.chromium.org/8803022/diff/1/base/win/sampling_profiler.cc#newcode7 base/win/sampling_profiler.cc:7: #include <winternl.h> // for ...
9 years ago (2011-12-06 14:46:02 UTC) #4
Jói
LGTM
9 years ago (2011-12-06 14:58:16 UTC) #5
M-A Ruel
lgtm http://codereview.chromium.org/8803022/diff/6002/base/win/sampling_profiler.h File base/win/sampling_profiler.h (right): http://codereview.chromium.org/8803022/diff/6002/base/win/sampling_profiler.h#newcode43 base/win/sampling_profiler.h:43: bool Start(); For functions like that, I always ...
9 years ago (2011-12-06 15:02:50 UTC) #6
Sigurður Ásgeirsson
Thanks. Committing. http://codereview.chromium.org/8803022/diff/6002/base/win/sampling_profiler.h File base/win/sampling_profiler.h (right): http://codereview.chromium.org/8803022/diff/6002/base/win/sampling_profiler.h#newcode43 base/win/sampling_profiler.h:43: bool Start(); On 2011/12/06 15:02:50, Marc-Antoine Ruel ...
9 years ago (2011-12-06 16:12:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siggi@chromium.org/8803022/6002
9 years ago (2011-12-06 16:13:09 UTC) #8
Sigurður Ásgeirsson
On Tue, Dec 6, 2011 at 11:12, <siggi@chromium.org> wrote: > Thanks. Committing. > > > ...
9 years ago (2011-12-06 16:15:03 UTC) #9
commit-bot: I haz the power
Try job failure for 8803022-6002 (retry) on win_rel for step "compile" (clobber build). It's a ...
9 years ago (2011-12-06 16:29:07 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siggi@chromium.org/8803022/9001
9 years ago (2011-12-06 16:42:46 UTC) #11
commit-bot: I haz the power
Try job failure for 8803022-9001 (retry) on linux_rel for step "check_deps". It's a second try, ...
9 years ago (2011-12-06 17:43:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siggi@chromium.org/8803022/11001
9 years ago (2011-12-06 17:49:29 UTC) #13
commit-bot: I haz the power
Try job failure for 8803022-11001 (retry) on win_rel for step "base_unittests". It's a second try, ...
9 years ago (2011-12-06 19:45:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siggi@chromium.org/8803022/11001
9 years ago (2011-12-06 19:46:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siggi@chromium.org/8803022/19001
9 years ago (2011-12-07 19:11:38 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siggi@chromium.org/8803022/19001
9 years ago (2011-12-07 19:24:25 UTC) #17
commit-bot: I haz the power
Change committed as 113473
9 years ago (2011-12-07 21:44:31 UTC) #18
Timur Iskhodzhanov
9 years ago (2011-12-08 09:48:14 UTC) #19

Powered by Google App Engine
This is Rietveld 408576698