![]() |
(git:419edc0)
|
#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.
Internal routine for allocating host memory from the pool.
Internal routine for allocating host memory from the pool.
Definition at line 204 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 217 of file dbm_mempool.c.
void dbm_mempool_host_free | ( | const void * | memory | ) |
Internal routine for releasing memory back to the pool.
Internal routine for releasing memory back to the pool.
Internal routine for releasing memory back to the pool.
Definition at line 261 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 274 of file dbm_mempool.c.
void dbm_mempool_clear | ( | void | ) |
Internal routine for freeing all memory in the pool.
Internal routine for freeing all memory in the pool.
Internal routine for freeing all memory in the pool.
Definition at line 314 of file dbm_mempool.c.
void dbm_mempool_statistics | ( | dbm_memstats_t * | memstats | ) |
Internal routine to query statistics.
Definition at line 332 of file dbm_mempool.c.