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

Unified Diff: runtime/vm/profiler.cc

Issue 135843006: Improve Code object support in service and observatory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/disassembler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/profiler.cc
diff --git a/runtime/vm/profiler.cc b/runtime/vm/profiler.cc
index 4b5b6b57ed76c134eae8ec625903165a6056fdcd..1ec1e7fce8df5326cf19970796218e8febced13d 100644
--- a/runtime/vm/profiler.cc
+++ b/runtime/vm/profiler.cc
@@ -292,6 +292,11 @@ class CodeRegion : public ZoneAllocated {
}
}
+ void DebugPrint() {
+ printf("%s [%" Px ", %" Px ") %s\n", name_, start(), end(),
+ KindToCString(kind_));
+ }
+
void AddTickAtAddress(uintptr_t pc) {
const intptr_t length = address_table_->length();
intptr_t i = 0;
« no previous file with comments | « runtime/vm/disassembler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698