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

#include "defaults.h"

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