Skip to content

KDGpu::TimestampQueryRecorder

Module: Public API

TimestampQueryRecorder.

#include <timestamp_query_recorder.h>

Public Functions

Name
TimestampQueryRecorder()
~TimestampQueryRecorder()
TimestampQueryRecorder(TimestampQueryRecorder && other)
TimestampQueryRecorder & operator=(TimestampQueryRecorder && other)
TimestampQueryRecorder(const TimestampQueryRecorder & ) =delete
TimestampQueryRecorder & operator=(const TimestampQueryRecorder & ) =delete
const Handle< TimestampQueryRecorder_t > & handle() const
bool isValid() const
operator Handle< TimestampQueryRecorder_t >() const
TimestampIndex writeTimestamp(PipelineStageFlags flags)
float timestampPeriod() const
void reset()
std::vector< uint64_t > queryResults()
uint64_t nsInterval(TimestampIndex begin, TimestampIndex end)

Friends

Name
class CommandRecorder

Public Functions Documentation

function TimestampQueryRecorder

1
TimestampQueryRecorder()

function ~TimestampQueryRecorder

1
~TimestampQueryRecorder()

function TimestampQueryRecorder

1
2
3
TimestampQueryRecorder(
    TimestampQueryRecorder && other
)

function operator=

1
2
3
TimestampQueryRecorder & operator=(
    TimestampQueryRecorder && other
)

function TimestampQueryRecorder

1
2
3
TimestampQueryRecorder(
    const TimestampQueryRecorder & 
) =delete

function operator=

1
2
3
TimestampQueryRecorder & operator=(
    const TimestampQueryRecorder & 
) =delete

function handle

1
inline const Handle< TimestampQueryRecorder_t > & handle() const

function isValid

1
inline bool isValid() const

function operator Handle< TimestampQueryRecorder_t >

1
inline operator Handle< TimestampQueryRecorder_t >() const

function writeTimestamp

1
2
3
TimestampIndex writeTimestamp(
    PipelineStageFlags flags
)

function timestampPeriod

1
float timestampPeriod() const

function reset

1
void reset()

function queryResults

1
std::vector< uint64_t > queryResults()

function nsInterval

1
2
3
4
uint64_t nsInterval(
    TimestampIndex begin,
    TimestampIndex end
)

Friends

friend CommandRecorder

1
2
3
friend class CommandRecorder(
    CommandRecorder 
);

Updated on 2024-11-22 at 00:02:02 +0000