Home
last modified time | relevance | path

Searched refs:traceEvent (Results 1 – 3 of 3) sorted by relevance

/external/skia/tools/trace/
DChromeTracingTracer.cpp107 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(storagePtr); in addTraceEvent() local
108 traceEvent->fPhase = phase; in addTraceEvent()
109 traceEvent->fNumArgs = numArgs; in addTraceEvent()
110 traceEvent->fSize = size; in addTraceEvent()
111 traceEvent->fName = name; in addTraceEvent()
112 traceEvent->fID = id; in addTraceEvent()
113 traceEvent->fClockBegin = std::chrono::steady_clock::now().time_since_epoch().count(); in addTraceEvent()
114 traceEvent->fClockEnd = 0; in addTraceEvent()
115 traceEvent->fThreadID = SkGetThreadID(); in addTraceEvent()
117 TraceEventArg* traceEventArgs = traceEvent->args(); in addTraceEvent()
[all …]
/external/skqp/tools/trace/
DSkChromeTracingTracer.cpp113 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(storagePtr); in addTraceEvent() local
114 traceEvent->fPhase = phase; in addTraceEvent()
115 traceEvent->fNumArgs = numArgs; in addTraceEvent()
116 traceEvent->fSize = size; in addTraceEvent()
117 traceEvent->fName = name; in addTraceEvent()
118 traceEvent->fID = id; in addTraceEvent()
119 traceEvent->fClockBegin = std::chrono::steady_clock::now().time_since_epoch().count(); in addTraceEvent()
120 traceEvent->fClockEnd = 0; in addTraceEvent()
121 traceEvent->fThreadID = SkGetThreadID(); in addTraceEvent()
123 TraceEventArg* traceEventArgs = traceEvent->args(); in addTraceEvent()
[all …]
/external/angle/src/tests/perf_tests/
DANGLEPerfTest.cpp166 for (const TraceEvent &traceEvent : traceEvents) in DumpTraceEventsToJSONFile() local
170 const uint64_t microseconds = static_cast<uint64_t>(traceEvent.timestamp * 1000.0 * 1000.0); in DumpTraceEventsToJSONFile()
172 js::Document::StringRefType eventName(traceEvent.name); in DumpTraceEventsToJSONFile()
173 js::Document::StringRefType categoryName(traceEvent.categoryName); in DumpTraceEventsToJSONFile()
175 strcmp(traceEvent.categoryName, "gpu.angle.gpu") == 0 ? "GPU" : "ANGLE"); in DumpTraceEventsToJSONFile()
179 value.AddMember("ph", std::string(1, traceEvent.phase), allocator); in DumpTraceEventsToJSONFile()
182 value.AddMember("tid", traceEvent.tid, allocator); in DumpTraceEventsToJSONFile()