Home
last modified time | relevance | path

Searched refs:RecordingSimpleMemoryAllocator (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/lite/micro/
Drecording_simple_memory_allocator.cc24 RecordingSimpleMemoryAllocator::RecordingSimpleMemoryAllocator( in RecordingSimpleMemoryAllocator() function in tflite::RecordingSimpleMemoryAllocator
32 RecordingSimpleMemoryAllocator::~RecordingSimpleMemoryAllocator() {} in ~RecordingSimpleMemoryAllocator()
34 RecordingSimpleMemoryAllocator* RecordingSimpleMemoryAllocator::Create( in Create()
38 RecordingSimpleMemoryAllocator tmp = in Create()
39 RecordingSimpleMemoryAllocator(error_reporter, buffer_head, buffer_size); in Create()
42 tmp.AllocateFromTail(sizeof(RecordingSimpleMemoryAllocator), in Create()
43 alignof(RecordingSimpleMemoryAllocator)); in Create()
45 return new (allocator_buffer) RecordingSimpleMemoryAllocator(tmp); in Create()
48 size_t RecordingSimpleMemoryAllocator::GetRequestedBytes() const { in GetRequestedBytes()
52 size_t RecordingSimpleMemoryAllocator::GetUsedBytes() const { in GetUsedBytes()
[all …]
Drecording_simple_memory_allocator.h27 class RecordingSimpleMemoryAllocator : public SimpleMemoryAllocator {
29 RecordingSimpleMemoryAllocator(ErrorReporter* error_reporter,
33 ~RecordingSimpleMemoryAllocator() override;
35 static RecordingSimpleMemoryAllocator* Create(ErrorReporter* error_reporter,
Drecording_simple_memory_allocator_test.cc29 tflite::RecordingSimpleMemoryAllocator allocator( in TF_LITE_MICRO_TEST()
52 tflite::RecordingSimpleMemoryAllocator allocator( in TF_LITE_MICRO_TEST()
69 tflite::RecordingSimpleMemoryAllocator allocator( in TF_LITE_MICRO_TEST()
84 tflite::RecordingSimpleMemoryAllocator allocator( in TF_LITE_MICRO_TEST()
108 tflite::RecordingSimpleMemoryAllocator allocator( in TF_LITE_MICRO_TEST()
126 tflite::RecordingSimpleMemoryAllocator allocator( in TF_LITE_MICRO_TEST()
Drecording_micro_allocator.h65 const RecordingSimpleMemoryAllocator* GetSimpleMemoryAllocator() const;
99 RecordingMicroAllocator(RecordingSimpleMemoryAllocator* memory_allocator,
110 const RecordingSimpleMemoryAllocator* recording_memory_allocator_;
Drecording_micro_allocator.cc27 RecordingSimpleMemoryAllocator* recording_memory_allocator, in RecordingMicroAllocator()
36 RecordingSimpleMemoryAllocator* simple_memory_allocator = in Create()
37 RecordingSimpleMemoryAllocator::Create(error_reporter, tensor_arena, in Create()
71 const RecordingSimpleMemoryAllocator*