Explicit types for config.h

This commit is contained in:
Michael Mueller
2023-03-27 16:30:11 +02:00
parent f6db18473f
commit 47cd9585c3

View File

@@ -8,16 +8,16 @@ public:
/**
* @return Number of maximal provided NUMA regions.
*/
static constexpr auto max_numa_nodes() { return 2U; }
static constexpr std::uint8_t max_numa_nodes() { return 8U; }
/**
* @return Interval of each epoch, if memory reclamation is used.
*/
static constexpr auto epoch_interval() { return std::chrono::milliseconds(50U); }
static constexpr std::chrono::milliseconds epoch_interval() { return std::chrono::milliseconds(50U); }
/**
* @return True, if garbage is removed local.
*/
static constexpr auto local_garbage_collection() { return false; }
static constexpr bool local_garbage_collection() { return false; }
};
} // namespace mx::memory