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

Unified Diff: base/debug/trace_event_impl.h

Issue 11366109: Adding raw tracing to trace framework. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changing AddTraceEvent API to always accept a tid and timestamp. Created 8 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 side-by-side diff with in-line comments
Download patch
Index: base/debug/trace_event_impl.h
diff --git a/base/debug/trace_event_impl.h b/base/debug/trace_event_impl.h
index 87cfa8cdfa2ead264fb8ac37c5d5e782660f51f5..52dad62aa370188ca2844bdd2223eb54ad1e592b 100644
--- a/base/debug/trace_event_impl.h
+++ b/base/debug/trace_event_impl.h
@@ -260,6 +260,8 @@ class BASE_EXPORT TraceLog {
const unsigned char* category_enabled,
const char* name,
unsigned long long id,
+ int thread_id,
+ int64 timestamp,
int num_args,
const char** arg_names,
const unsigned char* arg_types,
@@ -306,6 +308,7 @@ class BASE_EXPORT TraceLog {
// Allow setting an offset between the current TimeTicks time and the time
// that should be reported.
void SetTimeOffset(TimeDelta offset);
+ TimeDelta GetTimeOffset();
private:
// This allows constructor and destructor to be private and usable only

Powered by Google App Engine
This is Rietveld 408576698