(git:419edc0)
Loading...
Searching...
No Matches
dbm_mempool.h File Reference
#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 Documentation

◆ dbm_memstats_t

Internal struct for pool statistics.

Author
Hans Pabst

Function Documentation

◆ dbm_mempool_host_malloc()

void * dbm_mempool_host_malloc ( size_t  size)

Internal routine for allocating host memory from the pool.

Author
Ole Schuett

Internal routine for allocating host memory from the pool.

Author
Ole Schuett

Internal routine for allocating host memory from the pool.

Author
Ole Schuett

Definition at line 204 of file dbm_mempool.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dbm_mempool_device_malloc()

void * dbm_mempool_device_malloc ( size_t  size)

Internal routine for allocating device memory from the pool.

Author
Ole Schuett

Definition at line 217 of file dbm_mempool.c.

Here is the call graph for this function:

◆ dbm_mempool_host_free()

void dbm_mempool_host_free ( const void *  memory)

Internal routine for releasing memory back to the pool.

Author
Ole Schuett

Internal routine for releasing memory back to the pool.

Author
Ole Schuett

Internal routine for releasing memory back to the pool.

Author
Ole Schuett

Definition at line 261 of file dbm_mempool.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dbm_mempool_device_free()

void dbm_mempool_device_free ( const void *  memory)

Internal routine for releasing memory back to the pool.

Author
Ole Schuett

Definition at line 274 of file dbm_mempool.c.

Here is the call graph for this function:

◆ dbm_mempool_clear()

void dbm_mempool_clear ( void  )

Internal routine for freeing all memory in the pool.

Author
Ole Schuett

Internal routine for freeing all memory in the pool.

Author
Ole Schuett

Internal routine for freeing all memory in the pool.

Author
Ole Schuett

Definition at line 314 of file dbm_mempool.c.

Here is the caller graph for this function:

◆ dbm_mempool_statistics()

void dbm_mempool_statistics ( dbm_memstats_t memstats)

Internal routine to query statistics.

Author
Hans Pabst

Definition at line 332 of file dbm_mempool.c.

Here is the caller graph for this function: