|
GTPin
|
< uint64_t scattered bit field More...
#include <gt_basic_defs.h>
Inherited by gtpin::IGtCore.
Public Member Functions | |
| virtual void * | Allocate (size_t size, size_t alignment=8)=0 |
| Allocate memory block of the specified size and alignment. | |
| virtual void | Deallocate (void *ptr) noexcept=0 |
| Deallocate memory block previously allocated by Allocate() | |
< uint64_t scattered bit field
Abstract low-level interface to the memory storage
| virtual void* gtpin::IMemAllocator::Allocate | ( | size_t | size, |
| size_t | alignment = 8 |
||
| ) | [pure virtual] |
Allocate memory block of the specified size and alignment.
| [in] | size | Number of bytes to allocate |
| [in] | alignment | Required alignment of the memory block |
| virtual void gtpin::IMemAllocator::Deallocate | ( | void * | ptr | ) | [pure virtual] |
Deallocate memory block previously allocated by Allocate()
| [in] | ptr | Pointer to a memory block to deallocate or a null pointer |
Copyright (C) 2013-2025 Intel Corporation
SPDX-License-Identifier: MIT
1.7.4