Blender V5.0
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
unsigned long long int uint64_t
#define CCL_NAMESPACE_END
size_t system_physical_ram()
Definition system.cpp:227
bool system_cpu_support_avx2()
Definition system.cpp:220
int system_cpu_bits()
Definition system.cpp:130
CCL_NAMESPACE_BEGIN int system_console_width()
Definition system.cpp:25
bool system_cpu_support_sse42()
Definition system.cpp:215
uint64_t system_self_process_id()
Definition system.cpp:248
std::string system_cpu_brand_string()
Definition system.cpp:64