summaryrefslogtreecommitdiffstats
path: root/include/util/bf_config.h
blob: 2390643e9971618a6d636479edd0803f5d3e03a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * include/util/bf_config.h
 *
 * Copyright (C) 2023 Douglas Rumbaugh <drumbaugh@psu.edu> 
 *                    Dong Xie <dongx@psu.edu>
 *
 * All rights reserved. Published under the Modified BSD License.
 *
 */
#pragma once

#include "psu-util/alignment.h"

namespace de {

static double BF_FPR = .01;
static size_t BF_HASH_FUNCS = 7;

static void BF_SET_FPR(double fpr) {
    BF_FPR = fpr;
}

static void BF_SET_HASHFUNC(size_t func_cnt) {
    BF_HASH_FUNCS = func_cnt;
}

}