Blender  V3.3
system.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: Apache-2.0
2  * Copyright 2011-2022 Blender Foundation */
3 
4 #ifndef __UTIL_SYSTEM_H__
5 #define __UTIL_SYSTEM_H__
6 
7 #include <stdint.h>
8 #include <stdlib.h>
9 
10 #include <string>
11 
13 
14 /* Get width in characters of the current console output. */
16 
17 std::string system_cpu_brand_string();
18 int system_cpu_bits();
24 
25 size_t system_physical_ram();
26 
27 /* Get identifier of the currently running process. */
29 
31 
32 #endif /* __UTIL_SYSTEM_H__ */
#define CCL_NAMESPACE_END
Definition: cuda/compat.h:9
unsigned __int64 uint64_t
Definition: stdint.h:90
size_t system_physical_ram()
Definition: system.cpp:258
bool system_cpu_support_avx2()
Definition: system.cpp:251
int system_cpu_bits()
Definition: system.cpp:123
CCL_NAMESPACE_BEGIN int system_console_width()
Definition: system.cpp:31
bool system_cpu_support_avx()
Definition: system.cpp:247
uint64_t system_self_process_id()
Definition: system.cpp:279
bool system_cpu_support_sse3()
Definition: system.cpp:237
bool system_cpu_support_sse41()
Definition: system.cpp:242
bool system_cpu_support_sse2()
Definition: system.cpp:232
std::string system_cpu_brand_string()
Definition: system.cpp:70