76 {
77 std::stringstream json;
78
79 json << std::setprecision(3) << std::fixed;
80 json << ",{";
81 json << "\"cat\":\"function\",";
82 json << "\"dur\":" << (result.ElapsedTime.count()) << ',';
83 json << "\"name\":\"" << result.Name << "\",";
84 json << "\"ph\":\"X\",";
85 json << "\"pid\":0,";
86 json << "\"tid\":" << result.ThreadID << ",";
87 json << "\"ts\":" << result.Start.count();
88 json << "}";
89
92 {
95 }
96 }
InstrumentationSession * m_CurrentSession
std::ofstream m_OutputStream