forked from lix-project/hydra
Remove unused getMemSize() function
This commit is contained in:
parent
5b4df3ad5a
commit
a0e24f446b
|
@ -30,13 +30,6 @@ template<> void toJSON<double>(std::ostream & str, const double & n) { str << n;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static uint64_t getMemSize()
|
|
||||||
{
|
|
||||||
auto pages = sysconf(_SC_PHYS_PAGES);
|
|
||||||
return pages >= 0 ? pages * sysconf(_SC_PAGESIZE) : 4ULL << 30;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
std::string getEnvOrDie(const std::string & key)
|
std::string getEnvOrDie(const std::string & key)
|
||||||
{
|
{
|
||||||
auto value = getEnv(key);
|
auto value = getEnv(key);
|
||||||
|
|
Loading…
Reference in a new issue