Lines Matching refs:json_str
309 json::OStream json_str(s.AsRawOstream(), 2); in DumpTraceInfoAsJson() local
328 json_str.object([&] { in DumpTraceInfoAsJson()
329 json_str.attribute("traceTechnology", "intel-pt"); in DumpTraceInfoAsJson()
330 json_str.attributeObject("threadStats", [&] { in DumpTraceInfoAsJson()
331 json_str.attribute("tid", tid); in DumpTraceInfoAsJson()
334 json_str.attribute("traceItemsCount", insn_len); in DumpTraceInfoAsJson()
338 json_str.attributeObject("memoryUsage", [&] { in DumpTraceInfoAsJson()
339 json_str.attribute("totalInBytes", std::to_string(mem_used)); in DumpTraceInfoAsJson()
343 json_str.attribute("avgPerItemInBytes", avg); in DumpTraceInfoAsJson()
347 json_str.attributeObject("timingInSeconds", [&] { in DumpTraceInfoAsJson()
350 json_str.attribute(name, duration.count() / 1000.0); in DumpTraceInfoAsJson()
357 json_str.attributeObject("events", [&] { in DumpTraceInfoAsJson()
358 json_str.attribute("totalCount", events_stats.total_count); in DumpTraceInfoAsJson()
359 json_str.attributeObject("individualCounts", [&] { in DumpTraceInfoAsJson()
361 json_str.attribute( in DumpTraceInfoAsJson()
369 json_str.attribute( in DumpTraceInfoAsJson()
372 json_str.attribute( in DumpTraceInfoAsJson()
380 json_str.attributeObject("errorItems", [&] { in DumpTraceInfoAsJson()
381 json_str.attribute("total", tsc_errors_stats.total_count); in DumpTraceInfoAsJson()
382 json_str.attributeObject("individualErrors", [&] { in DumpTraceInfoAsJson()
385 json_str.attribute(error_message_to_count.first, in DumpTraceInfoAsJson()
391 json_str.attributeObject("globalStats", [&] { in DumpTraceInfoAsJson()
392 json_str.attributeObject("timingInSeconds", [&] { in DumpTraceInfoAsJson()
395 json_str.attribute(name, duration.count() / 1000.0); in DumpTraceInfoAsJson()
399 json_str.attribute( in DumpTraceInfoAsJson()
402 json_str.attribute( in DumpTraceInfoAsJson()
405 json_str.attribute("totalPSBBlocks", in DumpTraceInfoAsJson()
407 json_str.attribute( in DumpTraceInfoAsJson()