MCPcopy Create free account
hub / github.com/ARM-software/armnn / SetReadyToRead

Method SetReadyToRead

profiling/client/src/SendThread.cpp:39–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void SendThread::SetReadyToRead()
40{
41 // We need to wait for the send thread to release its mutex
42 {
43#if !defined(ARMNN_DISABLE_THREADS)
44 std::lock_guard<std::mutex> lck(m_WaitMutex);
45#endif
46 m_ReadyToRead = true;
47 }
48 // Signal the send thread that there's something to read in the buffer
49#if !defined(ARMNN_DISABLE_THREADS)
50 m_WaitCondition.notify_one();
51#endif
52}
53
54void SendThread::Start(IProfilingConnection& profilingConnection)
55{

Callers 4

FlushReadListMethod · 0.80
FlushReadListMethod · 0.80
FlushReadListMethod · 0.80

Calls

no outgoing calls

Tested by 2

FlushReadListMethod · 0.64
FlushReadListMethod · 0.64