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

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

Issue 1259243005: Add unit test for CPU profile inline function expansion (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 | 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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 348
349 void Reset(Profile::TrieKind trie_kind); 349 void Reset(Profile::TrieKind trie_kind);
350 350
351 const char* CurrentName(); 351 const char* CurrentName();
352 // Return the current node's peer's inclusive tick count. 352 // Return the current node's peer's inclusive tick count.
353 intptr_t CurrentInclusiveTicks(); 353 intptr_t CurrentInclusiveTicks();
354 // Return the current node's peer's exclusive tick count. 354 // Return the current node's peer's exclusive tick count.
355 intptr_t CurrentExclusiveTicks(); 355 intptr_t CurrentExclusiveTicks();
356 // Return the current node's tick count. 356 // Return the current node's tick count.
357 intptr_t CurrentNodeTickCount(); 357 intptr_t CurrentNodeTickCount();
358 // Return the number siblings (including yourself).
359 intptr_t SiblingCount();
358 360
359 bool Down(); 361 bool Down();
360 bool NextSibling(); 362 bool NextSibling();
361 363
362 private: 364 private:
363 Profile* profile_; 365 Profile* profile_;
364 ProfileTrieNode* parent_; 366 ProfileTrieNode* parent_;
365 ProfileTrieNode* current_; 367 ProfileTrieNode* current_;
366 bool code_trie_; 368 bool code_trie_;
367 }; 369 };
(...skipping 13 matching lines...) Expand all
381 private: 383 private:
382 static void PrintJSONImpl(Isolate* isolate, 384 static void PrintJSONImpl(Isolate* isolate,
383 JSONStream* stream, 385 JSONStream* stream,
384 Profile::TagOrder tag_order, 386 Profile::TagOrder tag_order,
385 SampleFilter* filter); 387 SampleFilter* filter);
386 }; 388 };
387 389
388 } // namespace dart 390 } // namespace dart
389 391
390 #endif // VM_PROFILER_SERVICE_H_ 392 #endif // VM_PROFILER_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/profiler_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698