#include <gpu_tracer_vk.h>
Definition at line 101 of file gpu_tracer_vk.h.
◆ GPUProbe() [1/2]
| impeller::GPUProbe::GPUProbe |
( |
const std::weak_ptr< GPUTracerVK > & |
tracer | ) |
|
|
explicit |
◆ GPUProbe() [2/2]
| impeller::GPUProbe::GPUProbe |
( |
GPUProbe && |
| ) |
|
|
delete |
◆ ~GPUProbe()
| impeller::GPUProbe::~GPUProbe |
( |
| ) |
|
Definition at line 222 of file gpu_tracer_vk.cc.
222 {
223 if (!index_.has_value()) {
224 return;
225 }
226 auto tracer = tracer_.lock();
227 if (!tracer) {
228 return;
229 }
230 tracer->OnFenceComplete(index_.value());
231}
◆ operator=()
◆ RecordCmdBufferEnd()
| void impeller::GPUProbe::RecordCmdBufferEnd |
( |
const vk::CommandBuffer & |
buffer | ) |
|
Record a timestamp query into the provided cmd buffer to record end time.
Definition at line 241 of file gpu_tracer_vk.cc.
241 {
242 auto tracer = tracer_.lock();
243 if (!tracer) {
244 return;
245 }
246 tracer->RecordCmdBufferEnd(buffer, *this);
247}
◆ RecordCmdBufferStart()
| void impeller::GPUProbe::RecordCmdBufferStart |
( |
const vk::CommandBuffer & |
buffer | ) |
|
Record a timestamp query into the provided cmd buffer to record start time.
Definition at line 233 of file gpu_tracer_vk.cc.
233 {
234 auto tracer = tracer_.lock();
235 if (!tracer) {
236 return;
237 }
238 tracer->RecordCmdBufferStart(buffer, *this);
239}
◆ GPUTracerVK
The documentation for this class was generated from the following files: