aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/info.h
blob: 73ebe48a9ae3d369830b29bb67cd3981837fcb32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include "defaults.h"

namespace NSystemInfo {
    size_t NumberOfCpus();
    size_t CachedNumberOfCpus();
    size_t LoadAverage(double* la, size_t len);
    size_t GetPageSize() noexcept;
    size_t TotalMemorySize();
    size_t MaxOpenFiles();
}