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

Unified Diff: src/log.h

Issue 11428025: Include more information in --prof log. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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 | « no previous file | src/log.cc » ('j') | tools/plot-timer-events.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log.h
diff --git a/src/log.h b/src/log.h
index c8f81bc57547bed3b710494cd6075e8e5f31cec8..cec4e476d7dac283c3707c4f4bad97ee7c4167f9 100644
--- a/src/log.h
+++ b/src/log.h
@@ -275,7 +275,10 @@ class Logger {
void SharedLibraryEvent(const wchar_t* library_path,
uintptr_t start,
uintptr_t end);
+
+ // ==== Events logged by --log-timer-events. ====
void TimerEvent(const char* name, int64_t start, int64_t end);
+ void ExternalSwitch(StateTag old_tag, StateTag new_tag);
class TimerEventScope {
public:
@@ -476,6 +479,7 @@ class Logger {
Address prev_code_;
int64_t epoch_;
+ static int64_t enter_external_;
friend class CpuProfiler;
};
« no previous file with comments | « no previous file | src/log.cc » ('j') | tools/plot-timer-events.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698