mirror of
https://github.com/mmueller41/mxtasking.git
synced 2026-01-21 12:42:57 +01:00
Explicit types for config.h
This commit is contained in:
@@ -8,16 +8,16 @@ public:
|
|||||||
/**
|
/**
|
||||||
* @return Number of maximal provided NUMA regions.
|
* @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.
|
* @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.
|
* @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
|
} // namespace mx::memory
|
||||||
Reference in New Issue
Block a user