Multi-core Hash Joins
Main-memory hash join implementations for multi-core CPUs
src
cpu_mapping.h
Go to the documentation of this file.
1
11
#ifndef CPU_MAPPING_H
12
#define CPU_MAPPING_H
13
23
#ifndef CUSTOM_CPU_MAPPING
24
#define CUSTOM_CPU_MAPPING "cpu-mapping.txt"
25
#endif
26
27
#ifdef __cplusplus
28
namespace
eth_hashjoin
{
29
extern
"C"
{
30
#endif
// __cplusplus
31
35
int
get_cpu_id
(
int
thread_id);
36
44
int
45
get_numa_id
(
int
mytid);
46
52
int
53
get_num_numa_regions
(
void
);
54
58
int
59
get_numa_node_of_address
(
void
* ptr);
60
63
#ifdef __cplusplus
64
}
// extern "C"
65
}
// namespace eth_hashjoin
66
#endif
// __cplusplus
67
68
#endif
/* CPU_MAPPING_H */
get_num_numa_regions
int get_num_numa_regions(void)
Definition:
cpu_mapping.c:124
get_numa_node_of_address
int get_numa_node_of_address(void *ptr)
Definition:
cpu_mapping.c:135
get_cpu_id
int get_cpu_id(int thread_id)
Definition:
cpu_mapping.c:78
get_numa_id
int get_numa_id(int mytid)
Definition:
cpu_mapping.c:105
eth_hashjoin
A wrapper file ensuring 64bit key size.
Definition:
generator64.hpp:10
Generated on Tue Oct 4 2022 15:20:47 for Multi-core Hash Joins by
1.9.4