#include <stdio.h>
#include <assert.h>
#include <mnemosyne.h>
#include <pcm.h>
#include <cuckoo_hash/PointerHashInline.h>
#include <debug.h>
#include "tmlog_tornbit.h"
Go to the source code of this file.
Defines | |
#define | FLUSH_CACHELINE_ONCE |
#define | _DEBUG_PRINT_TMLOG(tmlog) |
Functions | |
void | PointerHash_removeKey_noshrink (PointerHash *self, void *k) |
m_result_t | m_tmlog_tornbit_alloc (m_log_dsc_t *log_dsc) |
m_result_t | m_tmlog_tornbit_init (pcm_storeset_t *set, m_log_t *log, m_log_dsc_t *log_dsc) |
m_result_t | m_tmlog_tornbit_truncation_init (pcm_storeset_t *set, m_log_dsc_t *log_dsc) |
m_result_t | m_tmlog_tornbit_truncation_prepare_next (pcm_storeset_t *set, m_log_dsc_t *log_dsc) |
m_result_t | m_tmlog_tornbit_truncation_do (pcm_storeset_t *set, m_log_dsc_t *log_dsc) |
m_result_t | m_tmlog_tornbit_recovery_init (pcm_storeset_t *set, m_log_dsc_t *log_dsc) |
m_result_t | m_tmlog_tornbit_recovery_prepare_next (pcm_storeset_t *set, m_log_dsc_t *log_dsc) |
m_result_t | m_tmlog_tornbit_recovery_do (pcm_storeset_t *set, m_log_dsc_t *log_dsc) |
m_result_t | m_tmlog_tornbit_report_stats (m_log_dsc_t *log_dsc) |
Variables | |
m_log_ops_t | tmlog_tornbit_ops |
Definition in file tmlog_tornbit.c.
#define _DEBUG_PRINT_TMLOG | ( | tmlog | ) |
Value:
printf("nvmd : %p\n", tmlog->phlog_tornbit.nvmd); \ printf("nvphlog : %p\n", tmlog->phlog_tornbit.nvphlog); \ printf("stable_tail: %lu\n", tmlog->phlog_tornbit.stable_tail); \ printf("tail : %lu\n", tmlog->phlog_tornbit.tail); \ printf("head : %lu\n", tmlog->phlog_tornbit.head); \ printf("read_index : %lu\n", tmlog->phlog_tornbit.read_index);
Definition at line 68 of file tmlog_tornbit.c.
Initial value:
{ m_tmlog_tornbit_alloc, m_tmlog_tornbit_init, m_tmlog_tornbit_truncation_init, m_tmlog_tornbit_truncation_prepare_next, m_tmlog_tornbit_truncation_do, m_tmlog_tornbit_recovery_init, m_tmlog_tornbit_recovery_prepare_next, m_tmlog_tornbit_recovery_do, m_tmlog_tornbit_report_stats, }
Definition at line 49 of file tmlog_tornbit.c.