Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: compiled/traceInit.cpp

Issue 29333474: Issue 4125 - [emscripten] Convert filter classes to C++ (Closed)
Patch Set: Rebased, addressed comments, changed StringMap::find() return value Created Feb. 18, 2016, 4:02 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #include <emscripten/trace.h>
2
3 #if defined(__EMSCRIPTEN_TRACING__)
4 struct InitTracing
5 {
6 InitTracing()
7 {
8 emscripten_trace_configure("http://127.0.0.1:5000/", "MyApplication");
9 }
10
11 ~InitTracing()
12 {
13 emscripten_trace_close();
14 }
15 };
16
17 InitTracing foo;
18 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld