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

Side by Side Diff: src/gc-tracer.h

Issue 428263006: Report precise number of incrementally marked bytes to gc tracer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/gc-tracer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_GC_TRACER_H_ 5 #ifndef V8_GC_TRACER_H_
6 #define V8_GC_TRACER_H_ 6 #define V8_GC_TRACER_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 // Compute the mean step duration of the last incremental marking round. 245 // Compute the mean step duration of the last incremental marking round.
246 // Returns 0 if no incremental marking round has been completed. 246 // Returns 0 if no incremental marking round has been completed.
247 double MeanIncrementalMarkingDuration() const; 247 double MeanIncrementalMarkingDuration() const;
248 248
249 // Compute the max step duration of the last incremental marking round. 249 // Compute the max step duration of the last incremental marking round.
250 // Returns 0 if no incremental marking round has been completed. 250 // Returns 0 if no incremental marking round has been completed.
251 double MaxIncrementalMarkingDuration() const; 251 double MaxIncrementalMarkingDuration() const;
252 252
253 // Compute the average incremental marking speed in bytes/second. Returns 0 if 253 // Compute the average incremental marking speed in bytes/second. Returns 0 if
254 // no events have been recorded. 254 // no events have been recorded.
255 intptr_t MarkingSpeedInBytesPerMillisecond() const; 255 intptr_t IncrementalMarkingSpeedInBytesPerMillisecond() const;
256 256
257 private: 257 private:
258 // Print one detailed trace line in name=value format. 258 // Print one detailed trace line in name=value format.
259 // TODO(ernstm): Move to Heap. 259 // TODO(ernstm): Move to Heap.
260 void PrintNVP() const; 260 void PrintNVP() const;
261 261
262 // Print one trace line. 262 // Print one trace line.
263 // TODO(ernstm): Move to Heap. 263 // TODO(ernstm): Move to Heap.
264 void Print() const; 264 void Print() const;
265 265
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 300
301 // Longest incremental marking step since start of marking. 301 // Longest incremental marking step since start of marking.
302 double longest_incremental_marking_step_; 302 double longest_incremental_marking_step_;
303 303
304 DISALLOW_COPY_AND_ASSIGN(GCTracer); 304 DISALLOW_COPY_AND_ASSIGN(GCTracer);
305 }; 305 };
306 } 306 }
307 } // namespace v8::internal 307 } // namespace v8::internal
308 308
309 #endif // V8_GC_TRACER_H_ 309 #endif // V8_GC_TRACER_H_
OLDNEW
« no previous file with comments | « no previous file | src/gc-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698