Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Bit_Array.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
Include dependency graph for Bit_Array.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Bit_Array
 Defines a bit array. More...
 

Functions

static uint64_t Bit_Array_size (struct Bit_Array *ba)
 Getter on the array size. More...
 
void Bit_Array_init (struct Bit_Array *ba, uint64_t size)
 Bit_Array initializer. More...
 
void Bit_Array_release (struct Bit_Array *ba)
 Bit_Array deinitializer. More...
 
void Bit_Array_replicate (struct Bit_Array *dest, struct Bit_Array *src)
 Copies a Bit_Array into another. More...
 
void Bit_Array_dump (struct Bit_Array *ba)
 Prints a Bit_Array on standard output. More...
 
static void Bit_Array_set (struct Bit_Array *ba, uint64_t key, uint8_t value)
 Sets a bit in a Bit_Array. More...
 
static uint8_t Bit_Array_get (struct Bit_Array *ba, uint64_t key)
 Gets a bit in a Bit_Array. More...
 

Variables

static const int get_set_bit_mask []
 Masks used to get and set bits. More...
 
static const int unset_bit_mask []
 Masks used to unset bits. More...