Home
last modified time | relevance | path

Searched refs:TraceEvent (Results 1 – 17 of 17) sorted by relevance

/third_party/flutter/skia/tools/trace/
DChromeTracingTracer.cpp32 struct TraceEvent { struct
44 TraceEvent* next() { in next() argument
45 return reinterpret_cast<TraceEvent*>(reinterpret_cast<char*>(this) + fSize); in next()
93 int size = static_cast<int>(sizeof(TraceEvent) + numArgs * sizeof(TraceEventArg)); in addTraceEvent()
107 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(storagePtr); in addTraceEvent()
147 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(handle); in updateTraceEventDuration()
196 TraceEvent* traceEvent, in trace_event_to_json()
288 clockOffset = reinterpret_cast<TraceEvent*>(fBlocks[0].fBlock.get())->fClockBegin; in flush()
290 clockOffset = reinterpret_cast<TraceEvent*>(fCurBlock.fBlock.get())->fClockBegin; in flush()
298 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(block.fBlock.get()); in flush()
/third_party/skia/tools/trace/
DChromeTracingTracer.cpp32 struct TraceEvent { struct
44 TraceEvent* next() { in next() argument
45 return reinterpret_cast<TraceEvent*>(reinterpret_cast<char*>(this) + fSize); in next()
93 int size = static_cast<int>(sizeof(TraceEvent) + numArgs * sizeof(TraceEventArg)); in addTraceEvent()
107 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(storagePtr); in addTraceEvent()
147 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(handle); in updateTraceEventDuration()
196 TraceEvent* traceEvent, in trace_event_to_json()
288 clockOffset = reinterpret_cast<TraceEvent*>(fBlocks[0].fBlock.get())->fClockBegin; in flush()
290 clockOffset = reinterpret_cast<TraceEvent*>(fCurBlock.fBlock.get())->fClockBegin; in flush()
298 TraceEvent* traceEvent = reinterpret_cast<TraceEvent*>(block.fBlock.get()); in flush()
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DDawnPerfTestPlatform.h35 struct TraceEvent final {
36 TraceEvent() { in TraceEvent() function
38 TraceEvent(char phaseIn, in TraceEvent() function
58 std::vector<TraceEvent> AcquireTraceEventBuffer();
66 std::vector<TraceEvent>* GetLocalTraceEventBuffer();
86 std::unordered_map<std::thread::id, std::unique_ptr<std::vector<TraceEvent>>>
DDawnPerfTestPlatform.cpp72 std::vector<DawnPerfTestPlatform::TraceEvent>* DawnPerfTestPlatform::GetLocalTraceEventBuffer() { in GetLocalTraceEventBuffer()
74 thread_local std::vector<TraceEvent>* traceEventBuffer = nullptr; in GetLocalTraceEventBuffer()
77 auto buffer = std::make_unique<std::vector<TraceEvent>>(); in GetLocalTraceEventBuffer()
111 std::vector<TraceEvent>* buffer = GetLocalTraceEventBuffer(); in AddTraceEvent()
124 std::vector<DawnPerfTestPlatform::TraceEvent> DawnPerfTestPlatform::AcquireTraceEventBuffer() { in AcquireTraceEventBuffer()
125 std::vector<TraceEvent> traceEventBuffer; in AcquireTraceEventBuffer()
140 std::back_inserter(traceEventBuffer), [&threadId](TraceEvent ev) { in AcquireTraceEventBuffer()
DDawnPerfTest.cpp32 const std::vector<DawnPerfTestPlatform::TraceEvent>& traceEventBuffer, in DumpTraceEventsToJSONFile()
37 for (const DawnPerfTestPlatform::TraceEvent& traceEvent : traceEventBuffer) { in DumpTraceEventsToJSONFile()
143 std::vector<DawnPerfTestPlatform::TraceEvent> traceEventBuffer = in TearDown()
294 std::vector<DawnPerfTestPlatform::TraceEvent> traceEventBuffer = in OutputResults()
311 for (const DawnPerfTestPlatform::TraceEvent& traceEvent : traceEventBuffer) { in OutputResults()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DANGLEPerfTest.h40 struct TraceEvent final
42 TraceEvent() {} in TraceEvent() function
44 TraceEvent(char phaseIn, const char *categoryNameIn, const char *nameIn, double timestampIn) in TraceEvent() function
137 std::vector<TraceEvent> &getTraceEventBuffer();
172 std::vector<TraceEvent> mTraceEventBuffer;
DANGLEPerfTest.cpp83 std::vector<TraceEvent> &buffer = renderTest->getTraceEventBuffer(); in AddPerfTraceEvent()
123 void DumpTraceEventsToJSONFile(const std::vector<TraceEvent> &traceEvents, in DumpTraceEventsToJSONFile()
128 for (const TraceEvent &traceEvent : traceEvents) in DumpTraceEventsToJSONFile()
648 std::vector<TraceEvent> &ANGLERenderTest::getTraceEventBuffer() in getTraceEventBuffer()
/third_party/flutter/skia/third_party/externals/angle2/src/third_party/trace_event/
Dtrace_event.h151 #define TRACE_STR_COPY(str) WebCore::TraceEvent::TraceStringWithCopy(str)
392 TraceEvent::SamplingStateScope<bucket_number> traceEventSamplingScope(category "\0" name);
397 TraceEvent::SamplingStateScope<bucket_number>::current()
402 TraceEvent::SamplingStateScope<bucket_number>::set(category "\0" name)
408 TraceEvent::SamplingStateScope<bucket_number>::set(categoryAndName)
470 gl::TraceEvent::addTraceEvent(platform, phase, INTERNALTRACEEVENTUID(catstatic), name, \
471 gl::TraceEvent::noEventId, flags, ##__VA_ARGS__); \
480 gl::TraceEvent::TraceEndOnScopeClose INTERNALTRACEEVENTUID(profileScope); \
483 gl::TraceEvent::addTraceEvent( \
485 gl::TraceEvent::noEventId, TRACE_EVENT_FLAG_NONE, ##__VA_ARGS__); \
[all …]
/third_party/skia/third_party/externals/angle2/src/third_party/trace_event/
Dtrace_event.h151 #define TRACE_STR_COPY(str) WebCore::TraceEvent::TraceStringWithCopy(str)
392 TraceEvent::SamplingStateScope<bucket_number> traceEventSamplingScope(category "\0" name);
397 TraceEvent::SamplingStateScope<bucket_number>::current()
402 TraceEvent::SamplingStateScope<bucket_number>::set(category "\0" name)
408 TraceEvent::SamplingStateScope<bucket_number>::set(categoryAndName)
469 gl::TraceEvent::addTraceEvent(platform, phase, INTERNALTRACEEVENTUID(catstatic), name, \
470 gl::TraceEvent::noEventId, flags, ##__VA_ARGS__); \
479 gl::TraceEvent::TraceEndOnScopeClose INTERNALTRACEEVENTUID(profileScope); \
484 gl::TraceEvent::addTraceEvent( \
486 gl::TraceEvent::noEventId, TRACE_EVENT_FLAG_NONE, ##__VA_ARGS__); \
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DANGLEPerfTest.h45 struct TraceEvent final
47 TraceEvent() {} in TraceEvent() function
48 TraceEvent(char phaseIn,
170 std::vector<TraceEvent> &getTraceEventBuffer();
224 std::vector<TraceEvent> mTraceEventBuffer;
DANGLEPerfTest.cpp101 std::vector<TraceEvent> &buffer = renderTest->getTraceEventBuffer(); in AddPerfTraceEvent()
158 void DumpTraceEventsToJSONFile(const std::vector<TraceEvent> &traceEvents, in DumpTraceEventsToJSONFile()
166 for (const TraceEvent &traceEvent : traceEvents) in DumpTraceEventsToJSONFile()
230 TraceEvent::TraceEvent(char phaseIn, in TraceEvent() function in TraceEvent
1035 std::vector<TraceEvent> &ANGLERenderTest::getTraceEventBuffer() in getTraceEventBuffer()
/third_party/skia/third_party/externals/dawn/src/dawn_platform/tracing/
DTraceEvent.h608 TraceEvent::SamplingStateScope<bucket_number> traceEventSamplingScope(category "\0" name);
613 TraceEvent::SamplingStateScope<bucket_number>::current()
618 TraceEvent::SamplingStateScope<bucket_number>::set(category "\0" name)
624 TraceEvent::SamplingStateScope<bucket_number>::set(categoryAndName)
684 dawn_platform::TraceEvent::addTraceEvent( \
686 dawn_platform::TraceEvent::noEventId, flags, __VA_ARGS__); \
695 dawn_platform::TraceEvent::TraceEndOnScopeClose INTERNALTRACEEVENTUID(profileScope); \
698 dawn_platform::TraceEvent::addTraceEvent( \
700 dawn_platform::TraceEvent::noEventId, TRACE_EVENT_FLAG_NONE, __VA_ARGS__); \
713 dawn_platform::TraceEvent::TraceID traceEventTraceID(id, &traceEventFlags); \
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_platform/
DCMakeLists.txt30 "tracing/TraceEvent.h"
DBUILD.gn32 "tracing/TraceEvent.h",
/third_party/flutter/engine/flutter/fml/
Dtrace_event.h61 ::fml::tracing::TraceEvent((category_group), (name), __VA_ARGS__); \
193 void TraceEvent(TraceArg category, TraceArg name, Args... args) { in TraceEvent() function
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DQueueMTL.mm25 #include "dawn_platform/tracing/TraceEvent.h"
DDeviceMTL.mm39 #include "dawn_platform/tracing/TraceEvent.h"