diff options
author | Jim Flynn <jim.flynn@arm.com> | 2020-06-22 20:41:43 +0100 |
---|---|---|
committer | James Conroy <james.conroy@arm.com> | 2020-06-23 09:14:51 +0000 |
commit | 0204f09cb7462c675c45c76cd13d677d67f73589 (patch) | |
tree | 880f018f376b04652730715d1bc3fbaff1f90df7 /src/profiling/PacketBuffer.cpp | |
parent | 1f45dc3e7f955a6d75c8516ba6fd7eade2b03cb7 (diff) | |
download | armnn-0204f09cb7462c675c45c76cd13d677d67f73589.tar.gz |
IVGCVSW-5022 Fix master intermittent failure by providing surge buffer capacity
Change-Id: I028aec48d89d7348836223029aa1e8c315f160fa
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/PacketBuffer.cpp')
-rw-r--r-- | src/profiling/PacketBuffer.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/profiling/PacketBuffer.cpp b/src/profiling/PacketBuffer.cpp index 886561ae75..6010493002 100644 --- a/src/profiling/PacketBuffer.cpp +++ b/src/profiling/PacketBuffer.cpp @@ -55,6 +55,13 @@ unsigned char* PacketBuffer::GetWritableData() return m_Data.get(); } +void PacketBuffer::Destroy() +{ + m_Data.reset(nullptr); + m_Size = 0; + m_MaxSize = 0; +} + } // namespace profiling } // namespace armnn |