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

Profiling info for the host execution. More...

#include <CL/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 cl::sycl::detail::HostProfilingInfo::end ( )

Measures event's end time.

Definition at line 345 of file event_impl.cpp.

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

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

◆ getEndTime()

uint64_t cl::sycl::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 cl::sycl::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 cl::sycl::detail::HostProfilingInfo::start ( )

Measures event's start time.

Definition at line 343 of file event_impl.cpp.

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

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


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