#include <NeonInterceptorScheduler.hpp>
◆ NeonInterceptorScheduler()
◆ ~NeonInterceptorScheduler()
◆ GetKernels()
◆ num_threads()
unsigned int num_threads |
( |
| ) |
const |
|
override |
◆ run_tagged_workloads()
void run_tagged_workloads |
( |
std::vector< Workload > & |
workloads, |
|
|
const char * |
tag |
|
) |
| |
|
override |
Definition at line 47 of file NeonInterceptorScheduler.cpp.
49 WallClockTimer::clock::time_point startTime = WallClockTimer::clock::now();
50 m_RealScheduler.run_tagged_workloads(workloads, tag);
51 WallClockTimer::clock::time_point stopTime = WallClockTimer::clock::now();
53 const auto delta = std::chrono::duration<double, std::micro>(stopTime - startTime);
54 m_Kernels->emplace_back(std::string(tag !=
nullptr ? tag :
"Unknown"), delta.count(), Measurement::Unit::TIME_US);
◆ run_workloads()
void run_workloads |
( |
std::vector< Workload > & |
workloads | ) |
|
|
override |
Definition at line 37 of file NeonInterceptorScheduler.cpp.
39 WallClockTimer::clock::time_point startTime = WallClockTimer::clock::now();
40 m_RealScheduler.run_tagged_workloads(workloads,
nullptr);
41 WallClockTimer::clock::time_point stopTime = WallClockTimer::clock::now();
43 const auto delta = std::chrono::duration<double, std::micro>(stopTime - startTime);
44 m_Kernels->emplace_back(std::string(
"Workload"), delta.count(), Measurement::Unit::TIME_US);
◆ schedule()
void schedule |
( |
arm_compute::ICPPKernel * |
kernel, |
|
|
const Hints & |
hints |
|
) |
| |
|
override |
Definition at line 27 of file NeonInterceptorScheduler.cpp.
29 WallClockTimer::clock::time_point startTime = WallClockTimer::clock::now();
30 m_RealScheduler.schedule(kernel, hints.split_dimension());
31 WallClockTimer::clock::time_point stopTime = WallClockTimer::clock::now();
33 const auto delta = std::chrono::duration<double, std::micro>(stopTime - startTime);
34 m_Kernels->emplace_back(kernel->name(), delta.count(), Measurement::Unit::TIME_US);
◆ set_num_threads()
void set_num_threads |
( |
unsigned int |
numThreads | ) |
|
|
override |
◆ SetKernels()
The documentation for this class was generated from the following files: