This section shows the configure of HRCore.
More...
This section shows the configure of HRCore.
◆ HRCORE_DEBUG_LEVEL
#define HRCORE_DEBUG_LEVEL 2 |
Debug level setting. Default: 2.
5 level debug is support:
- 0 No debug info output
- 1 Error is output
- 2 Warning + 1
- 3 Info + 2
- 4 Verbose + 3
Definition at line 32 of file HRCore.h.
◆ HRCORE_ENABLE_FP
#define HRCORE_ENABLE_FP 1 |
Determind whether Value::FixedPoint is enabled or not. Default: 1.
Set to 1 to enable Value::FixedPoint support.
- Note
- It's useful when desire to cut down some memory usage
Definition at line 74 of file HRCore.h.
◆ HRCORE_ENABLE_IO_DELIMETER
#define HRCORE_ENABLE_IO_DELIMETER 1 |
Decide whether use delemeter ',' per thousand in the output of integer part. Default: 1.
Definition at line 56 of file HRCore.h.
◆ HRCORE_ENABLE_MD
#define HRCORE_ENABLE_MD 1 |
Decide whether multiplication and division is enabled. Default: 1.
Define this to 1 to enable multiplication and division.
- Note
- It's useful when desire to cut off some memory usage
Definition at line 65 of file HRCore.h.
◆ HRCORE_ENABLE_STORAGE_VMMU
#define HRCORE_ENABLE_STORAGE_VMMU 1 |
Decide whether Storage::VirtualMMU should be enabled or not. Default: 1.
Storage::VirtualMMU is an implement of Storage::Interface using std::vector. Set to 0 if don't need.
Definition at line 109 of file HRCore.h.
◆ HRCORE_ENABLE_UTILS
#define HRCORE_ENABLE_UTILS 1 |
Decide whether Utils should be enabled or not. Default: 1.
Definition at line 125 of file HRCore.h.
◆ HRCORE_ENABLE_UTILS_IO
#define HRCORE_ENABLE_UTILS_IO 1 |
Decide whether IO utils should be enabled or not. Default: 1.
IO utils can be useful on expression calculation. Set to 0 if don't need.
Definition at line 132 of file HRCore.h.
◆ HRCORE_FP_BITS_BASE
#define HRCORE_FP_BITS_BASE 24 |
Decide how many bits as a base of Float. Default: 24.
The value of it should >= 16, otherwise precision may lost.
- Note
- Value that is too small will trigger a compile warning.
Definition at line 84 of file HRCore.h.
◆ HRCORE_FP_BITS_PER_DIGIT
#define HRCORE_FP_BITS_PER_DIGIT 8 |
Decide how many bits for a digit in Float. Default: 8.
The value of it should >= 6, otherwise precision may lost.
- Note
- Value that is too small will trigger a compile warning.
Definition at line 94 of file HRCore.h.
◆ HRCORE_FP_DEFAULT_PRECISION
#define HRCORE_FP_DEFAULT_PRECISION 10 |
Set default precision of Value::Float. Default: 10.
Definition at line 101 of file HRCore.h.
◆ HRCORE_HIGHPERF
#define HRCORE_HIGHPERF 0 |
HRCore high performance macro. Default: 0.
Define this to 1, multiply and division will use FFT.
- Attention
- Currently not support!
Definition at line 40 of file HRCore.h.
◆ HRCORE_STORAGE_VMMU_MAX_LEN
#define HRCORE_STORAGE_VMMU_MAX_LEN 1024 |
Define the max length of table of VMMU. Default: 1024.
Space consume is sizeof(void*) * HRCORE_STORAGE_VMMU_MAX_LEN for each object of VMMU.
- Note
- This can affect the max count of element it can contain.
Definition at line 118 of file HRCore.h.
◆ HRCORE_UNIT_SIZE
#define HRCORE_UNIT_SIZE 32 |
Decide how many bits should be used by single storage unit. Default: 32.
It depends on the max bit width of the platform, selecting from 16,32,64.
- Note
- 64 bit usually not support since a 128-bit integer type is needed to be supported on the platform originally.
Definition at line 49 of file HRCore.h.