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/IPacketBuffer.hpp | |
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/IPacketBuffer.hpp')
-rw-r--r-- | src/profiling/IPacketBuffer.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/profiling/IPacketBuffer.hpp b/src/profiling/IPacketBuffer.hpp index 1a97ca741c..15687a81e9 100644 --- a/src/profiling/IPacketBuffer.hpp +++ b/src/profiling/IPacketBuffer.hpp @@ -35,6 +35,10 @@ public: virtual void Release() = 0; virtual unsigned char* GetWritableData() = 0; + + /// release the memory held and reset internal point to null. + /// After this function is invoked the PacketBuffer is unusable. + virtual void Destroy() = 0; }; using IPacketBufferPtr = std::unique_ptr<IPacketBuffer>; |