#include <AsyncExecutionCallback.hpp>
Definition at line 25 of file AsyncExecutionCallback.hpp.
◆ AsyncExecutionCallback()
Definition at line 31 of file AsyncExecutionCallback.hpp.
37 : m_NotificationQueue(notificationQueue)
38 #if !defined(ARMNN_DISABLE_THREADS)
40 , m_Condition(condition)
42 , m_InferenceId(++nextID)
◆ ~AsyncExecutionCallback()
◆ GetEndTime()
◆ GetInferenceId()
◆ GetStartTime()
◆ GetStatus()
◆ Notify()
Implements IAsyncExecutionCallback.
Definition at line 16 of file AsyncExecutionCallback.cpp.
19 #if !defined(ARMNN_DISABLE_THREADS)
20 std::lock_guard<std::mutex> hold(m_Mutex);
24 m_StartTime = timeTaken.first;
25 m_EndTime = timeTaken.second;
26 m_NotificationQueue.push(m_InferenceId);
28 #if !defined(ARMNN_DISABLE_THREADS)
29 m_Condition.notify_all();
The documentation for this class was generated from the following files: