OLD | NEW |
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 #include "src/counters.h" | 5 #include "src/counters.h" |
6 | 6 |
7 #include <iomanip> | 7 #include <iomanip> |
8 | 8 |
9 #include "src/base/platform/platform.h" | 9 #include "src/base/platform/platform.h" |
| 10 #include "src/builtins/builtins-definitions.h" |
10 #include "src/isolate.h" | 11 #include "src/isolate.h" |
11 #include "src/log-inl.h" | 12 #include "src/log-inl.h" |
12 #include "src/log.h" | 13 #include "src/log.h" |
13 | 14 |
14 namespace v8 { | 15 namespace v8 { |
15 namespace internal { | 16 namespace internal { |
16 | 17 |
17 StatsTable::StatsTable() | 18 StatsTable::StatsTable() |
18 : lookup_function_(NULL), | 19 : lookup_function_(NULL), |
19 create_histogram_function_(NULL), | 20 create_histogram_function_(NULL), |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 RuntimeCallStats::counters) { | 489 RuntimeCallStats::counters) { |
489 RuntimeCallCounter* counter = &(this->*counter_id); | 490 RuntimeCallCounter* counter = &(this->*counter_id); |
490 if (counter->count() > 0) counter->Dump(value); | 491 if (counter->count() > 0) counter->Dump(value); |
491 } | 492 } |
492 | 493 |
493 in_use_ = false; | 494 in_use_ = false; |
494 } | 495 } |
495 | 496 |
496 } // namespace internal | 497 } // namespace internal |
497 } // namespace v8 | 498 } // namespace v8 |
OLD | NEW |