Blender V5.3
system.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
2 *
3 * SPDX-License-Identifier: Apache-2.0 */
4
5#pragma once
6
7#include <cstdint>
8#include <cstdlib>
9
10#include <string>
11
13
14/* Get width in characters of the current console output. */
16
17std::string system_cpu_brand_string();
18int system_cpu_bits();
21
22size_t system_physical_ram();
23
24/* Get identifier of the currently running process. */
26
28
29/* Ensure the process can open many files simultaneously.
30 * This should be called once on application startup, as it is not thread safe. */
32
unsigned long long int uint64_t
#define CCL_NAMESPACE_END
size_t system_physical_ram()
Definition system.cpp:247
bool system_cpu_support_avx2()
Definition system.cpp:240
void system_max_open_files_ensure()
Definition system.cpp:287
int system_cpu_bits()
Definition system.cpp:140
size_t system_max_open_files()
Definition system.cpp:277
CCL_NAMESPACE_BEGIN int system_console_width()
Definition system.cpp:34
bool system_cpu_support_sse42()
Definition system.cpp:235
string system_cpu_brand_string()
Definition system.cpp:73
uint64_t system_self_process_id()
Definition system.cpp:268