12 int main(
int argc,
char **argv) {
29 memoryInformation.
toString().c_str());
33 "Cannot find available system memory, this can be due to OS "
35 "Use only one thread for CPU feature extraction.");
37 const double oneGB = 1024.0 * 1024.0 * 1024.0;
40 "More than half of the RAM is used by other applications. "
41 "It would be more efficient to close them.");
43 " => {} GB are used by other applications for a total RAM "
46 std::round(
double(memoryInformation.
totalRam -
49 std::size_t(std::round(
double(memoryInformation.
totalRam) /
int main(int argc, char **argv)
std::string gpuInformationCUDA()
gpuInformationCUDA
int get_total_cpus()
Returns the total number of CPUs.
int cpu_clock_by_os()
Returns the CPU clock, as reported by the OS.
MemoryInfo getMemoryInfo()
void SetVerbosityLevel(VerbosityLevel level)
Generic file read and write utility for python interface.