carb::profiler::ProfileEvent

Defined in carb/profiler/IProfileMonitor.h

struct carb::profiler::ProfileEvent

A struct describing a specific profiling event.

Public Members

const char *eventName

A human-readable name for the event.

uint64_t threadId

The thread ID that recorded this event. Comparable with GetCurrentThreadID() on Windows or gettid() on Linux.

uint64_t startTime

The start timestamp for this event. Based on 10 ns units since IProfiler::startup() was called.

float timeInMs

The total time in milliseconds elapsed for this event.

uint16_t level

The stack depth for this event.