Home
last modified time | relevance | path

Searched refs:timer_fns (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/c/experimental/stream_executor/
Dstream_executor.cc114 port::Status ValidateSPTimerFns(const SP_TimerFns& timer_fns) { in ValidateSPTimerFns() argument
115 VALIDATE_STRUCT_SIZE(SP_TimerFns, timer_fns, SP_TIMER_FNS_STRUCT_SIZE); in ValidateSPTimerFns()
116 VALIDATE_MEMBER(SP_TimerFns, timer_fns, nanoseconds); in ValidateSPTimerFns()
242 SP_TimerFns* timer_fns, const std::string& name, in CStreamExecutor() argument
249 timer_fns_(timer_fns), in CStreamExecutor()
678 SP_TimerFns timer_fns) in CPlatform() argument
685 timer_fns_(std::move(timer_fns)), in CPlatform()
799 SP_TimerFns timer_fns{SP_TIMER_FNS_STRUCT_SIZE}; in InitStreamExecutorPlugin() local
800 platform_fns.create_timer_fns(&platform, &timer_fns, c_status.get()); in InitStreamExecutorPlugin()
802 TF_RETURN_IF_ERROR(ValidateSPTimerFns(timer_fns)); in InitStreamExecutorPlugin()
[all …]
Dstream_executor_internal.h55 SP_TimerFns timer_fns);
163 SP_TimerFns* timer_fns) in CTimer() argument
167 timer_fns_(timer_fns) {} in CTimer()
Dstream_executor_test.cc154 void PopulateDefaultTimerFns(SP_TimerFns* timer_fns) { in PopulateDefaultTimerFns() argument
155 timer_fns->nanoseconds = nanoseconds; in PopulateDefaultTimerFns()
159 void create_timer_fns(const SP_Platform* platform, SP_TimerFns* timer_fns, in create_timer_fns() argument
162 PopulateDefaultTimerFns(timer_fns); in create_timer_fns()
164 void destroy_timer_fns(const SP_Platform* platform, SP_TimerFns* timer_fns) {} in destroy_timer_fns() argument
Dstream_executor.h479 SP_TimerFns* timer_fns);