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 19 of file host_profiling_info.hpp.

Member Function Documentation

◆ end()

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

Measures event's end time.

Definition at line 339 of file event_impl.cpp.

References sycl::_V1::detail::getTimestamp().

Referenced by sycl::_V1::detail::HostKernel< KernelType, KernelArgType, Dims >::call().

◆ 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 31 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 27 of file host_profiling_info.hpp.

◆ start()

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

Measures event's start time.

Definition at line 337 of file event_impl.cpp.

References sycl::_V1::detail::getTimestamp().

Referenced by sycl::_V1::detail::HostKernel< KernelType, KernelArgType, Dims >::call().


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