Searched refs:traceEvent (Results 1 – 3 of 3) sorted by relevance
107 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(storagePtr); in addTraceEvent() local108 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 …]
113 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(storagePtr); in addTraceEvent() local114 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 …]
166 for (const TraceEvent &traceEvent : traceEvents) in DumpTraceEventsToJSONFile() local170 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()