Blender V5.0
system.h File Reference
#include <cstdint>
#include <cstdlib>
#include <string>

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN int system_console_width ()
std::string system_cpu_brand_string ()
int system_cpu_bits ()
bool system_cpu_support_sse42 ()
bool system_cpu_support_avx2 ()
size_t system_physical_ram ()
uint64_t system_self_process_id ()

Function Documentation

◆ system_console_width()

CCL_NAMESPACE_BEGIN int system_console_width ( )

Definition at line 25 of file system.cpp.

References w().

◆ system_cpu_bits()

int system_cpu_bits ( )

Definition at line 130 of file system.cpp.

◆ system_cpu_brand_string()

std::string system_cpu_brand_string ( )

Definition at line 64 of file system.cpp.

References __cpuid(), result, and string_remove_trademark().

Referenced by device_cpu_info().

◆ system_cpu_support_avx2()

◆ system_cpu_support_sse42()

bool system_cpu_support_sse42 ( )

◆ system_physical_ram()

size_t system_physical_ram ( )

Definition at line 227 of file system.cpp.

References len.

Referenced by GPUDevice::init_host_memory().

◆ system_self_process_id()

uint64_t system_self_process_id ( )

Definition at line 248 of file system.cpp.

Referenced by TileManager::TileManager().