MCPcopy Create free account
hub / github.com/Tencent/tgfx / SendFrameMark

Method SendFrameMark

src/inspect/FrameCapture.cpp:95–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void FrameCapture::SendFrameMark(const char* name) {
96 if (!name) {
97 GetInspector().frameCount.fetch_add(1, std::memory_order_relaxed);
98 }
99 auto item = FrameCaptureMessageItem();
100 item.hdr.type = FrameCaptureMessageType::FrameMarkMessage;
101 item.frameMark.usTime = Clock::Now();
102 QueueSerialFinish(item);
103}
104
105void FrameCapture::SendAttributeData(const char* name, int val) {
106 auto item = FrameCaptureMessageItem();

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected