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

Method Commit

profiling/client/src/PacketBuffer.cpp:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void PacketBuffer::Commit(unsigned int size)
39{
40 if (size > m_MaxSize)
41 {
42 throw arm::pipe::ProfilingException("Cannot commit [" + std::to_string(size) +
43 "] bytes which is more than the maximum size of the buffer [" + std::to_string(m_MaxSize) + "]");
44 }
45 m_Size = size;
46}
47
48void PacketBuffer::Release()
49{

Calls 2

ProfilingExceptionClass · 0.85
to_stringFunction · 0.50

Tested by 1

CheckTimelineDirectoryFunction · 0.36