| 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/isolate.h" | 10 #include "src/isolate.h" |
| 11 #include "src/log-inl.h" | 11 #include "src/log-inl.h" |
| 12 #include "src/log.h" |
| 12 | 13 |
| 13 namespace v8 { | 14 namespace v8 { |
| 14 namespace internal { | 15 namespace internal { |
| 15 | 16 |
| 16 StatsTable::StatsTable() | 17 StatsTable::StatsTable() |
| 17 : lookup_function_(NULL), | 18 : lookup_function_(NULL), |
| 18 create_histogram_function_(NULL), | 19 create_histogram_function_(NULL), |
| 19 add_histogram_sample_function_(NULL) {} | 20 add_histogram_sample_function_(NULL) {} |
| 20 | 21 |
| 21 | 22 |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 FOR_EACH_API_COUNTER(RESET_COUNTER) | 342 FOR_EACH_API_COUNTER(RESET_COUNTER) |
| 342 #undef RESET_COUNTER | 343 #undef RESET_COUNTER |
| 343 | 344 |
| 344 #define RESET_COUNTER(name) this->Handler_##name.Reset(); | 345 #define RESET_COUNTER(name) this->Handler_##name.Reset(); |
| 345 FOR_EACH_HANDLER_COUNTER(RESET_COUNTER) | 346 FOR_EACH_HANDLER_COUNTER(RESET_COUNTER) |
| 346 #undef RESET_COUNTER | 347 #undef RESET_COUNTER |
| 347 } | 348 } |
| 348 | 349 |
| 349 } // namespace internal | 350 } // namespace internal |
| 350 } // namespace v8 | 351 } // namespace v8 |
| OLD | NEW |