Blender V4.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#ifndef __UTIL_SYSTEM_H__
6#define __UTIL_SYSTEM_H__
7
8#include <stdint.h>
9#include <stdlib.h>
10
11#include <string>
12
14
15/* Get width in characters of the current console output. */
17
18std::string system_cpu_brand_string();
19int system_cpu_bits();
22
23size_t system_physical_ram();
24
25/* Get identifier of the currently running process. */
27
29
30#endif /* __UTIL_SYSTEM_H__ */
#define CCL_NAMESPACE_END
unsigned __int64 uint64_t
Definition stdint.h:90
size_t system_physical_ram()
Definition system.cpp:234
bool system_cpu_support_avx2()
Definition system.cpp:227
int system_cpu_bits()
Definition system.cpp:137
CCL_NAMESPACE_BEGIN int system_console_width()
Definition system.cpp:32
bool system_cpu_support_sse42()
Definition system.cpp:222
uint64_t system_self_process_id()
Definition system.cpp:255
std::string system_cpu_brand_string()
Definition system.cpp:71