-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathmemory.hh
More file actions
41 lines (25 loc) · 664 Bytes
/
memory.hh
File metadata and controls
41 lines (25 loc) · 664 Bytes
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef MEMORY_HH
#define MEMORY_HH
#include "configs.hh"
#ifdef REMYTYPE_DEFAULT
#define REMYTYPE_DEFINED
#include "memory-default.hh"
#endif
#ifdef REMYTYPE_LOSS_SIGNAL
#ifdef REMYTYPE_DEFINED
#error Only one remy type should be defined
#endif
#define REMYTYPE_DEFINED
#include "memory-with-loss-signal.hh"
#endif /* REMYTYPE_LOSS_SIGNAL */
#ifdef REMYTYPE_WITHOUT_SLOW_REWMA
#ifdef REMYTYPE_DEFINED
#error Only one remy type should be defined
#endif
#define REMYTYPE_DEFINED
#include "memory-without-slow-rewma.hh"
#endif /* REMYTYPE_WITHOUT_SLOW_REWMA */
#ifndef REMYTYPE_DEFINED
#error Please define a remy type
#endif
#endif /* MEMORY_HH */