|
GTPin
|
Abstract class that provides interface for allocation (reservation) memory blocks in the profile buffer. More...
#include <igt_profile_buffer.h>
Public Member Functions | |
| virtual GtProfileBufferOffset | Allocate (uint32_t size, uint32_t alignment=64)=0 |
| Reserve space for a memory block of the specified size in the profile buffer. | |
| virtual uint32_t | TotalSize () const =0 |
| Return total number of bytes, allocated (reserved) in the profile buffer so far. | |
Abstract class that provides interface for allocation (reservation) memory blocks in the profile buffer.
| virtual GtProfileBufferOffset gtpin::IGtProfileBufferAllocator::Allocate | ( | uint32_t | size, |
| uint32_t | alignment = 64 |
||
| ) | [pure virtual] |
Reserve space for a memory block of the specified size in the profile buffer.
| [in] | size | Size of the memory block in bytes |
| [in] | alignment | Minimal alignment of the memory block. Must be power of two, not exceeding page size |
Copyright (C) 2013-2025 Intel Corporation
SPDX-License-Identifier: MIT
1.7.4