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

Side by Side Diff: runtime/vm/profiler_service.h

Issue 1526123002: VM: Const-correctness fixes. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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 | « runtime/vm/parser.cc ('k') | runtime/vm/profiler_service.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 (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_PROFILER_SERVICE_H_ 5 #ifndef VM_PROFILER_SERVICE_H_
6 #define VM_PROFILER_SERVICE_H_ 6 #define VM_PROFILER_SERVICE_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/code_observers.h" 9 #include "vm/code_observers.h"
10 #include "vm/globals.h" 10 #include "vm/globals.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 intptr_t code_table_index() const { return code_table_index_; } 200 intptr_t code_table_index() const { return code_table_index_; }
201 201
202 const Kind kind_; 202 const Kind kind_;
203 uword start_; 203 uword start_;
204 uword end_; 204 uword end_;
205 intptr_t exclusive_ticks_; 205 intptr_t exclusive_ticks_;
206 intptr_t inclusive_ticks_; 206 intptr_t inclusive_ticks_;
207 intptr_t inclusive_serial_; 207 intptr_t inclusive_serial_;
208 208
209 const Code& code_; 209 const Code& code_;
210 const char* name_; 210 char* name_;
211 int64_t compile_timestamp_; 211 int64_t compile_timestamp_;
212 ProfileFunction* function_; 212 ProfileFunction* function_;
213 intptr_t code_table_index_; 213 intptr_t code_table_index_;
214 ZoneGrowableArray<ProfileCodeAddress> address_ticks_; 214 ZoneGrowableArray<ProfileCodeAddress> address_ticks_;
215 215
216 friend class ProfileBuilder; 216 friend class ProfileBuilder;
217 }; 217 };
218 218
219 219
220 // Stack traces are organized in a trie. This holds information about one node 220 // Stack traces are organized in a trie. This holds information about one node
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 static void PrintJSONImpl(Thread* thread, 391 static void PrintJSONImpl(Thread* thread,
392 JSONStream* stream, 392 JSONStream* stream,
393 Profile::TagOrder tag_order, 393 Profile::TagOrder tag_order,
394 intptr_t extra_tags, 394 intptr_t extra_tags,
395 SampleFilter* filter); 395 SampleFilter* filter);
396 }; 396 };
397 397
398 } // namespace dart 398 } // namespace dart
399 399
400 #endif // VM_PROFILER_SERVICE_H_ 400 #endif // VM_PROFILER_SERVICE_H_
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/profiler_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698