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

Unified Diff: chrome/browser/resources/tracing/tests/nonnested_trace.json

Issue 8513009: Add TRACE_COUNTER support to about:tracing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
Index: chrome/browser/resources/tracing/tests/nonnested_trace.json
diff --git a/chrome/browser/resources/tracing/tests/nonnested_trace.json b/chrome/browser/resources/tracing/tests/nonnested_trace.json
new file mode 100644
index 0000000000000000000000000000000000000000..f4bcc9e43edd20ca50d6b24cd966cd70b6e5a8a7
--- /dev/null
+++ b/chrome/browser/resources/tracing/tests/nonnested_trace.json
@@ -0,0 +1,23 @@
+[
+ {"cat": "PERF", "pid": 22630, "tid": 22630, "ts": 826, "ph": "B",
James Hawkins 2011/11/16 17:41:38 I'm not sure if we have a style for JSON per se, b
nduca 2011/11/16 19:03:56 Done.
+ "name": "A", "args": {}},
+ {"cat": "PERF", "pid": 22630, "tid": 22630, "ts": 827, "ph": "B",
+ "name": "Asub", "args": {}},
+ {"cat": "PERF", "pid": 22630, "tid": 22630, "ts": 829, "ph": "B",
+ "name": "NonNest", "args": {"id": "1", "ui-nest": "0"}},
+ {"cat": "PERF", "pid": 22630, "tid": 22630, "ts": 830, "ph": "B",
+ "name": "NonNest", "args": {"id": "2", "ui-nest": "0"}},
+ {"cat": "PERF", "pid": 22630, "tid": 22630, "ts": 831, "ph": "E",
+ "name": "Asub", "args": {}},
+ {"cat": "PERF", "pid": 22630, "tid": 22630, "ts": 832, "ph": "E",
+ "name": "NonNest", "args": {"id": "1", "ui-nest": "0"}},
+ {"cat": "PERF", "pid": 22630, "tid": 22630, "ts": 833, "ph": "E",
+ "name": "NonNest", "args": {"id": "2", "ui-nest": "0"}},
+ {"cat": "PERF", "pid": 22630, "tid": 22630, "ts": 834, "ph": "E",
+ "name": "A", "args": {}},
+
+ {"cat": "PERF", "pid": 22630, "tid": 22631, "ts": 827, "ph": "B",
+ "name": "A", "args": {}},
+ {"cat": "PERF", "pid": 22630, "tid": 22631, "ts": 854, "ph": "E",
+ "name": "A", "args": {}}
+ ]
James Hawkins 2011/11/16 17:41:38 Indentation off here.
nduca 2011/11/16 19:03:56 Done.

Powered by Google App Engine
This is Rietveld 408576698