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

Side by Side Diff: src/compiler-dispatcher/compiler-dispatcher-tracer.h

Issue 2602383002: Remove runtime-call-stats from compiler dispatcher (Closed)
Patch Set: Created 3 years, 11 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/compiler-dispatcher/compiler-dispatcher-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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_COMPILER_DISPATCHER_COMPILER_DISPATCHER_TRACER_H_ 5 #ifndef V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_TRACER_H_
6 #define V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_TRACER_H_ 6 #define V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_TRACER_H_
7 7
8 #include <utility> 8 #include <utility>
9 9
10 #include "src/base/macros.h" 10 #include "src/base/macros.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 Scope(CompilerDispatcherTracer* tracer, ScopeID scope_id, size_t num = 0); 45 Scope(CompilerDispatcherTracer* tracer, ScopeID scope_id, size_t num = 0);
46 ~Scope(); 46 ~Scope();
47 47
48 static const char* Name(ScopeID scoped_id); 48 static const char* Name(ScopeID scoped_id);
49 49
50 private: 50 private:
51 CompilerDispatcherTracer* tracer_; 51 CompilerDispatcherTracer* tracer_;
52 ScopeID scope_id_; 52 ScopeID scope_id_;
53 size_t num_; 53 size_t num_;
54 double start_time_; 54 double start_time_;
55 RuntimeCallTimer timer_;
56 55
57 DISALLOW_COPY_AND_ASSIGN(Scope); 56 DISALLOW_COPY_AND_ASSIGN(Scope);
58 }; 57 };
59 58
60 explicit CompilerDispatcherTracer(Isolate* isolate); 59 explicit CompilerDispatcherTracer(Isolate* isolate);
61 ~CompilerDispatcherTracer(); 60 ~CompilerDispatcherTracer();
62 61
63 void RecordPrepareToParse(double duration_ms); 62 void RecordPrepareToParse(double duration_ms);
64 void RecordParse(double duration_ms, size_t source_length); 63 void RecordParse(double duration_ms, size_t source_length);
65 void RecordFinalizeParsing(double duration_ms); 64 void RecordFinalizeParsing(double duration_ms);
(...skipping 23 matching lines...) Expand all
89 88
90 RuntimeCallStats* runtime_call_stats_; 89 RuntimeCallStats* runtime_call_stats_;
91 90
92 DISALLOW_COPY_AND_ASSIGN(CompilerDispatcherTracer); 91 DISALLOW_COPY_AND_ASSIGN(CompilerDispatcherTracer);
93 }; 92 };
94 93
95 } // namespace internal 94 } // namespace internal
96 } // namespace v8 95 } // namespace v8
97 96
98 #endif // V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_TRACER_H_ 97 #endif // V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_TRACER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler-dispatcher/compiler-dispatcher-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698