Multi-ApplicationOnlineProfiling
2.1
|
Internal Hash_Table functions. More...
Functions | |
void | Hash_Table_lock_cell (struct Hash_Table *ht, uint64_t key) |
Locks a cell at given key. More... | |
void | Hash_Table_unlock_cell (struct Hash_Table *ht, uint64_t key) |
Unlocks a cell at given key. More... | |
void | Hash_Table_init_Internal (void *phi, uint64_t coll_avoid, uint64_t intern_payload_size) |
Initializes internal hashtable data. More... | |
void | Hash_Table_release_Internal (void *phi) |
Releases internal hashtable data. More... | |
Internal Hash_Table functions.
void Hash_Table_init_Internal | ( | void * | phi, |
uint64_t | coll_avoid, | ||
uint64_t | intern_payload_size | ||
) |
Initializes internal hashtable data.
phi | the internal to initialize |
coll_avoid | the number of elements in each chain list chunks |
intern_payload_size | the size of elements stored in the intern chained list |
Definition at line 22 of file Hash_Table.c.
void Hash_Table_lock_cell | ( | struct Hash_Table * | ht, |
uint64_t | key | ||
) |
Locks a cell at given key.
ht | the hashtable |
key | the key where to lock the cell |
Definition at line 105 of file Hash_Table.c.
void Hash_Table_release_Internal | ( | void * | phi | ) |
Releases internal hashtable data.
phi | the internal data to release |
Definition at line 30 of file Hash_Table.c.
void Hash_Table_unlock_cell | ( | struct Hash_Table * | ht, |
uint64_t | key | ||
) |
Unlocks a cell at given key.
ht | the hashtable |
key | the key where to unlock the cell |
Definition at line 117 of file Hash_Table.c.