libcute 0.1
Loading...
Searching...
No Matches
Public Attributes | List of all members
cu_GPAllocator Struct Reference

#include <gpallocator.h>

Collaboration diagram for cu_GPAllocator:
Collaboration graph
[legend]

Public Attributes

cu_Allocator backingAllocator
 
struct cu_GPAllocator_BucketHeader * smallBuckets [CU_GPA_NUM_SMALL_BUCKETS]
 
struct cu_GPAllocator_BucketHeader * smallBucketTails [CU_GPA_NUM_SMALL_BUCKETS]
 
struct cu_GPAllocator_LargeAlloc * largeAllocs
 
size_t bucketSize
 

Detailed Description

Runtime state for the general purpose allocator.

Member Data Documentation

◆ backingAllocator

cu_Allocator cu_GPAllocator::backingAllocator

allocator used for all bookkeeping

◆ bucketSize

size_t cu_GPAllocator::bucketSize

requested bucket size

◆ largeAllocs

struct cu_GPAllocator_LargeAlloc* cu_GPAllocator::largeAllocs

linked list of large allocations


The documentation for this struct was generated from the following file: