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

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

Issue 1839993002: [heap] Fix scavenger --trace-gc-nvp glitches. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | src/heap/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_HEAP_GC_TRACER_H_ 5 #ifndef V8_HEAP_GC_TRACER_H_
6 #define V8_HEAP_GC_TRACER_H_ 6 #define V8_HEAP_GC_TRACER_H_
7 7
8 #include "src/base/platform/platform.h" 8 #include "src/base/platform/platform.h"
9 #include "src/counters.h" 9 #include "src/counters.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 // bytes/millisecond. 397 // bytes/millisecond.
398 // Returns 0 if no events have been recorded. 398 // Returns 0 if no events have been recorded.
399 intptr_t FinalIncrementalMarkCompactSpeedInBytesPerMillisecond() const; 399 intptr_t FinalIncrementalMarkCompactSpeedInBytesPerMillisecond() const;
400 400
401 // Compute the overall mark compact speed including incremental steps 401 // Compute the overall mark compact speed including incremental steps
402 // and the final mark-compact step. 402 // and the final mark-compact step.
403 double CombinedMarkCompactSpeedInBytesPerMillisecond(); 403 double CombinedMarkCompactSpeedInBytesPerMillisecond();
404 404
405 // Allocation throughput in the new space in bytes/millisecond. 405 // Allocation throughput in the new space in bytes/millisecond.
406 // Returns 0 if no allocation events have been recorded. 406 // Returns 0 if no allocation events have been recorded.
407 size_t NewSpaceAllocationThroughputInBytesPerMillisecond( 407 double NewSpaceAllocationThroughputInBytesPerMillisecond(
408 double time_ms = 0) const; 408 double time_ms = 0) const;
409 409
410 // Allocation throughput in the old generation in bytes/millisecond in the 410 // Allocation throughput in the old generation in bytes/millisecond in the
411 // last time_ms milliseconds. 411 // last time_ms milliseconds.
412 // Returns 0 if no allocation events have been recorded. 412 // Returns 0 if no allocation events have been recorded.
413 size_t OldGenerationAllocationThroughputInBytesPerMillisecond( 413 double OldGenerationAllocationThroughputInBytesPerMillisecond(
414 double time_ms = 0) const; 414 double time_ms = 0) const;
415 415
416 // Allocation throughput in heap in bytes/millisecond in the last time_ms 416 // Allocation throughput in heap in bytes/millisecond in the last time_ms
417 // milliseconds. 417 // milliseconds.
418 // Returns 0 if no allocation events have been recorded. 418 // Returns 0 if no allocation events have been recorded.
419 size_t AllocationThroughputInBytesPerMillisecond(double time_ms) const; 419 double AllocationThroughputInBytesPerMillisecond(double time_ms) const;
420 420
421 // Allocation throughput in heap in bytes/milliseconds in the last 421 // Allocation throughput in heap in bytes/milliseconds in the last
422 // kThroughputTimeFrameMs seconds. 422 // kThroughputTimeFrameMs seconds.
423 // Returns 0 if no allocation events have been recorded. 423 // Returns 0 if no allocation events have been recorded.
424 size_t CurrentAllocationThroughputInBytesPerMillisecond() const; 424 size_t CurrentAllocationThroughputInBytesPerMillisecond() const;
425 425
426 // Allocation throughput in old generation in bytes/milliseconds in the last 426 // Allocation throughput in old generation in bytes/milliseconds in the last
427 // kThroughputTimeFrameMs seconds. 427 // kThroughputTimeFrameMs seconds.
428 // Returns 0 if no allocation events have been recorded. 428 // Returns 0 if no allocation events have been recorded.
429 size_t CurrentOldGenerationAllocationThroughputInBytesPerMillisecond() const; 429 size_t CurrentOldGenerationAllocationThroughputInBytesPerMillisecond() const;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 580
581 // Separate timer used for --runtime_call_stats 581 // Separate timer used for --runtime_call_stats
582 RuntimeCallTimer timer_; 582 RuntimeCallTimer timer_;
583 583
584 DISALLOW_COPY_AND_ASSIGN(GCTracer); 584 DISALLOW_COPY_AND_ASSIGN(GCTracer);
585 }; 585 };
586 } // namespace internal 586 } // namespace internal
587 } // namespace v8 587 } // namespace v8
588 588
589 #endif // V8_HEAP_GC_TRACER_H_ 589 #endif // V8_HEAP_GC_TRACER_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/gc-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698