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

Unified Diff: src/log.h

Issue 28112: Adding unit tests for profiler's stack tracer. (Closed)
Patch Set: Changes according to comments Created 11 years, 10 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 | « no previous file | src/log.cc » ('j') | no next file with comments »
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 7d17567e12002ee1dd1c09f3bb210dfd233d53fd..8f60173117dd09838c300db5489f6ebca13da318 100644
--- a/src/log.h
+++ b/src/log.h
@@ -272,6 +272,17 @@ class Logger {
};
+// Class that extracts stack trace, used for profiling
+class StackTracer BASE_EMBEDDED {
+ public:
+ StackTracer(unsigned int low_stack_bound): low_stack_bound_(low_stack_bound) {
+ }
+ void Trace(TickSample* sample);
+ private:
+ unsigned int low_stack_bound_;
+};
+
+
} } // namespace v8::internal
#endif // V8_LOG_H_
« no previous file with comments | « no previous file | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698