Reimplement FrameAllocator and FrameTemp; Tidy up DataChunker header.

- Also additional work on tests to reflect watermark behavior change
This commit is contained in:
James Urquhart 2024-02-06 02:30:47 +00:00
parent 7332dd6643
commit 45898694e4
4 changed files with 154 additions and 227 deletions

View file

@ -5,7 +5,7 @@
// SPDX-License-Identifier: MIT
//-----------------------------------------------------------------------------
#pragma once
#ifndef _DATACHUNKER_H_
#define _DATACHUNKER_H_
#ifndef _PLATFORM_H_
@ -21,8 +21,6 @@
#include <algorithm>
#include <stdint.h>
//#include "math/mMathFn.h" // tgemit - needed here for the moment
/// Implements a chunked data allocator.
///
/// This memory allocator allocates data in chunks of bytes,
@ -430,3 +428,5 @@ public:
inline ClassChunker<K2>& getT2Chunker() { return mT2; }
inline ClassChunker<K3>& getT3Chunker() { return mT3; }
};
#endif