![]() |
(git:b77b4be)
|
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | dbm_memstats_t |
Internal struct for pool statistics. More... | |
Typedefs | |
typedef struct dbm_memstats_t | dbm_memstats_t |
Internal struct for pool statistics. | |
Functions | |
void * | dbm_mempool_host_malloc (size_t size) |
Internal routine for allocating host memory from the pool. | |
void * | dbm_mempool_device_malloc (size_t size) |
Internal routine for allocating device memory from the pool. | |
void | dbm_mempool_host_free (const void *memory) |
Internal routine for releasing memory back to the pool. | |
void | dbm_mempool_device_free (const void *memory) |
Internal routine for releasing memory back to the pool. | |
void | dbm_mempool_clear (void) |
Internal routine for freeing all memory in the pool. | |
void | dbm_mempool_statistics (dbm_memstats_t *memstats) |
Internal routine to query statistics. | |
typedef struct dbm_memstats_t dbm_memstats_t |
Internal struct for pool statistics.
void * dbm_mempool_host_malloc | ( | size_t | size | ) |
Internal routine for allocating host memory from the pool.
Definition at line 187 of file dbm_mempool.c.
void * dbm_mempool_device_malloc | ( | size_t | size | ) |
Internal routine for allocating device memory from the pool.
Definition at line 200 of file dbm_mempool.c.
void dbm_mempool_host_free | ( | const void * | memory | ) |
Internal routine for releasing memory back to the pool.
Definition at line 246 of file dbm_mempool.c.
void dbm_mempool_device_free | ( | const void * | memory | ) |
Internal routine for releasing memory back to the pool.
Definition at line 259 of file dbm_mempool.c.
void dbm_mempool_clear | ( | void | ) |
Internal routine for freeing all memory in the pool.
Definition at line 293 of file dbm_mempool.c.
void dbm_mempool_statistics | ( | dbm_memstats_t * | memstats | ) |
Internal routine to query statistics.
Definition at line 309 of file dbm_mempool.c.