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

Issue 12209090: Precise GC time measurements. (Closed)

Created:
7 years, 10 months ago by Hannes Payer (out of office)
Modified:
7 years, 10 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Precise GC time measurements. BUG= Committed: https://code.google.com/p/v8/source/detail?r=13689

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -43 lines) Patch
M src/heap.h View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M src/heap.cc View 1 2 3 4 5 9 chunks +34 lines, -38 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Hannes Payer (out of office)
7 years, 10 months ago (2013-02-11 15:11:36 UTC) #1
Michael Starzinger
High level suggestion: I think it would make sense to print one or two decimal ...
7 years, 10 months ago (2013-02-11 15:56:31 UTC) #2
Michael Starzinger
As discussed offline: Ulan verified that the scripts can handle decimal places for --trace-gc-nvp, so ...
7 years, 10 months ago (2013-02-13 12:16:10 UTC) #3
Hannes Payer (out of office)
7 years, 10 months ago (2013-02-18 10:12:13 UTC) #4
Michael Starzinger
https://codereview.chromium.org/12209090/diff/10001/src/heap.cc File src/heap.cc (right): https://codereview.chromium.org/12209090/diff/10001/src/heap.cc#newcode7099 src/heap.cc:7099: PrintF("mutator=%d ", static_cast<int>(spent_in_mutator_)); This should also get one decimal ...
7 years, 10 months ago (2013-02-18 10:19:46 UTC) #5
Hannes Payer (out of office)
https://codereview.chromium.org/12209090/diff/10001/src/heap.cc File src/heap.cc (right): https://codereview.chromium.org/12209090/diff/10001/src/heap.cc#newcode7099 src/heap.cc:7099: PrintF("mutator=%d ", static_cast<int>(spent_in_mutator_)); On 2013/02/18 10:19:47, Michael Starzinger wrote: ...
7 years, 10 months ago (2013-02-18 12:22:24 UTC) #6
Michael Starzinger
LGTM, just one more comment. https://codereview.chromium.org/12209090/diff/13001/src/heap.cc File src/heap.cc (right): https://codereview.chromium.org/12209090/diff/13001/src/heap.cc#newcode7141 src/heap.cc:7141: PrintF("stepstook=%.f ", steps_took_since_last_gc_); I ...
7 years, 10 months ago (2013-02-19 11:42:11 UTC) #7
Hannes Payer (out of office)
7 years, 10 months ago (2013-02-19 11:56:02 UTC) #8
https://codereview.chromium.org/12209090/diff/13001/src/heap.cc
File src/heap.cc (right):

https://codereview.chromium.org/12209090/diff/13001/src/heap.cc#newcode7141
src/heap.cc:7141: PrintF("stepstook=%.f ", steps_took_since_last_gc_);
On 2013/02/19 11:42:11, Michael Starzinger wrote:
> I think s/.f/.1f/ here, otherwise it will still not print any decimal places.
> AFAIK, ".f" is the same as ".0f"

Done.

https://codereview.chromium.org/12209090/diff/13001/src/heap.cc#newcode7144
src/heap.cc:7144: PrintF("stepstook=%.f ", steps_took_);
On 2013/02/19 11:42:11, Michael Starzinger wrote:
> Likewise.

Done.

Powered by Google App Engine
This is Rietveld 408576698