Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3850)

Issue 6816061: Add CacheGrind support to grinder coverage mode. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by chrisha
Modified:
11 years, 6 months ago
Reviewers:
Roger McFarlane, Siggi
CC:
sawbuck-changes_googlegroups.com
Base URL:
http://sawbuck.googlecode.com/svn/trunk
Visibility:
Public.

Description

Add CacheGrind support to grinder coverage mode. This CL also cleans up the command-lines across the instrument and grinder tools, making them consistent. BUG= Committed: https://code.google.com/p/sawbuck/source/detail?r=1210

Patch Set 1 : #

Total comments: 5

Patch Set 2 : Addressed siggi's nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -90 lines) Patch
M syzygy/grinder/coverage_grinder.h View 2 chunks +10 lines, -0 lines 0 comments Download
M syzygy/grinder/coverage_grinder.cc View 1 3 chunks +34 lines, -5 lines 0 comments Download
M syzygy/grinder/coverage_grinder_unittest.cc View 1 3 chunks +45 lines, -26 lines 0 comments Download
M syzygy/grinder/grinder_app.cc View 3 chunks +14 lines, -8 lines 0 comments Download
M syzygy/grinder/grinder_app_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M syzygy/instrument/instrument.gyp View 2 chunks +2 lines, -2 lines 0 comments Download
M syzygy/instrument/instrument_app.h View 2 chunks +2 lines, -2 lines 0 comments Download
M syzygy/instrument/instrument_app.cc View 10 chunks +23 lines, -23 lines 0 comments Download
M syzygy/instrument/instrument_app_unittest.cc View 12 chunks +18 lines, -18 lines 0 comments Download
M syzygy/test_data/test_data.gyp View 5 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 3
chrisha
PTAL.
11 years, 6 months ago (2012-10-30 20:47:42 UTC) #1
Siggi
lgtm with a couple of nits - sweet! https://codereview.appspot.com/6816061/diff/2001/syzygy/grinder/coverage_grinder.cc File syzygy/grinder/coverage_grinder.cc (right): https://codereview.appspot.com/6816061/diff/2001/syzygy/grinder/coverage_grinder.cc#newcode47 syzygy/grinder/coverage_grinder.cc:47: // ...
11 years, 6 months ago (2012-10-30 21:22:31 UTC) #2
chrisha
11 years, 6 months ago (2012-10-31 14:21:17 UTC) #3
Thanks, committing!

https://codereview.appspot.com/6816061/diff/2001/syzygy/grinder/coverage_grin...
File syzygy/grinder/coverage_grinder.cc (right):

https://codereview.appspot.com/6816061/diff/2001/syzygy/grinder/coverage_grin...
syzygy/grinder/coverage_grinder.cc:47: // If the switch isn't prsent we have
nothing to do!
On 2012/10/30 21:22:31, Siggi wrote:
> nit: prsent->present

Done.

https://codereview.appspot.com/6816061/diff/2001/syzygy/grinder/coverage_grin...
File syzygy/grinder/coverage_grinder_unittest.cc (right):

https://codereview.appspot.com/6816061/diff/2001/syzygy/grinder/coverage_grin...
syzygy/grinder/coverage_grinder_unittest.cc:125: TEST_F(CoverageGrinderTest,
GrindAndOutputCacheGrindDataSucceeds) {
On 2012/10/30 21:22:31, Siggi wrote:
> nit: fold the repetition into a member function on the fixture?

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b