DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::HostProfilingInfo Class Reference

Profiling info for the host execution. More...

#include <sycl/detail/host_profiling_info.hpp>

Public Member Functions

uint64_t getStartTime () const
 Returns event's start time. More...
 
uint64_t getEndTime () const
 Returns event's end time. More...
 
void start ()
 Measures event's start time. More...
 
void end ()
 Measures event's end time. More...
 

Detailed Description

Profiling info for the host execution.

Definition at line 20 of file host_profiling_info.hpp.

Member Function Documentation

◆ end()

void sycl::_V1::detail::HostProfilingInfo::end ( )

◆ getEndTime()

uint64_t sycl::_V1::detail::HostProfilingInfo::getEndTime ( ) const
inline

Returns event's end time.

Returns
event's end time in nanoseconds.

Definition at line 32 of file host_profiling_info.hpp.

◆ getStartTime()

uint64_t sycl::_V1::detail::HostProfilingInfo::getStartTime ( ) const
inline

Returns event's start time.

Returns
event's start time in nanoseconds.

Definition at line 28 of file host_profiling_info.hpp.

◆ start()

void sycl::_V1::detail::HostProfilingInfo::start ( )

The documentation for this class was generated from the following files: