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

Side by Side Diff: src/counters.h

Issue 572293002: Track how much we miss the idle notification limit (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 3 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/heap/heap.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_COUNTERS_H_ 5 #ifndef V8_COUNTERS_H_
6 #define V8_COUNTERS_H_ 6 #define V8_COUNTERS_H_
7 7
8 #include "include/v8.h" 8 #include "include/v8.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/base/platform/elapsed-timer.h" 10 #include "src/base/platform/elapsed-timer.h"
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 #endif 284 #endif
285 } 285 }
286 286
287 private: 287 private:
288 HistogramTimer* timer_; 288 HistogramTimer* timer_;
289 #ifdef DEBUG 289 #ifdef DEBUG
290 bool skipped_timer_start_; 290 bool skipped_timer_start_;
291 #endif 291 #endif
292 }; 292 };
293 293
294 #define HISTOGRAM_RANGE_LIST(HR) \ 294 #define HISTOGRAM_RANGE_LIST(HR) \
295 /* Generic range histograms */ \ 295 /* Generic range histograms */ \
296 HR(gc_idle_time_allotted_in_ms, V8.GCIdleTimeAllottedInMS, 0, 10000, 101) 296 HR(gc_idle_time_allotted_in_ms, V8.GCIdleTimeAllottedInMS, 0, 10000, 101) \
297 HR(gc_idle_time_limit_overshot, V8.GCIdleTimeLimit.Overshot, 0, 10000, 101) \
298 HR(gc_idle_time_limit_undershot, V8.GCIdleTimeLimi.Undershot, 0, 10000, 101)
297 299
298 #define HISTOGRAM_TIMER_LIST(HT) \ 300 #define HISTOGRAM_TIMER_LIST(HT) \
299 /* Garbage collection timers. */ \ 301 /* Garbage collection timers. */ \
300 HT(gc_compactor, V8.GCCompactor) \ 302 HT(gc_compactor, V8.GCCompactor) \
301 HT(gc_scavenger, V8.GCScavenger) \ 303 HT(gc_scavenger, V8.GCScavenger) \
302 HT(gc_context, V8.GCContext) /* GC context cleanup time */ \ 304 HT(gc_context, V8.GCContext) /* GC context cleanup time */ \
303 HT(gc_idle_notification, V8.GCIdleNotification) \ 305 HT(gc_idle_notification, V8.GCIdleNotification) \
304 HT(gc_incremental_marking, V8.GCIncrementalMarking) \ 306 HT(gc_incremental_marking, V8.GCIncrementalMarking) \
305 HT(gc_low_memory_notification, V8.GCLowMemoryNotification) \ 307 HT(gc_low_memory_notification, V8.GCLowMemoryNotification) \
306 /* Parsing timers. */ \ 308 /* Parsing timers. */ \
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 friend class Isolate; 698 friend class Isolate;
697 699
698 explicit Counters(Isolate* isolate); 700 explicit Counters(Isolate* isolate);
699 701
700 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 702 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
701 }; 703 };
702 704
703 } } // namespace v8::internal 705 } } // namespace v8::internal
704 706
705 #endif // V8_COUNTERS_H_ 707 #endif // V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698