Multi-core Hash Joins
Main-memory hash join implementations for multi-core CPUs
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
28namespace eth_hashjoin {
29extern "C" {
30#endif // __cplusplus
31
35int get_cpu_id(int thread_id);
36
44int
45get_numa_id(int mytid);
46
52int
54
58int
59get_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 */
int get_num_numa_regions(void)
Definition: cpu_mapping.c:124
int get_numa_node_of_address(void *ptr)
Definition: cpu_mapping.c:135
int get_cpu_id(int thread_id)
Definition: cpu_mapping.c:78
int get_numa_id(int mytid)
Definition: cpu_mapping.c:105
A wrapper file ensuring 64bit key size.
Definition: generator64.hpp:10