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

Side by Side Diff: src/counters.cc

Issue 2050713002: [--prof] Adding support for RuntimeCallTimerScope based tick separation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: reverting flag changes Created 4 years, 6 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 | « src/counters.h ('k') | src/log.h » ('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 #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
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
OLDNEW
« no previous file with comments | « src/counters.h ('k') | src/log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698