Blender V2.61 - r43446
Functions

util_system.cpp File Reference

#include "util_system.h"
#include "util_types.h"
#include <unistd.h>

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN int system_cpu_thread_count ()
static void __cpuid (int data[4], int selector)
static void replace_string (string &haystack, const string &needle, const string &other)
string system_cpu_brand_string ()
int system_cpu_bits ()
bool system_cpu_support_optimized ()

Function Documentation

static void __cpuid ( int  data[4],
int  selector 
) [static]

Definition at line 63 of file util_system.cpp.

Referenced by system_cpu_brand_string().

static void replace_string ( string &  haystack,
const string &  needle,
const string &  other 
) [static]

Definition at line 80 of file util_system.cpp.

References i.

Referenced by system_cpu_brand_string().

int system_cpu_bits ( )

Definition at line 116 of file util_system.cpp.

Referenced by CUDADevice::compile_kernel().

string system_cpu_brand_string ( )

Definition at line 88 of file util_system.cpp.

References __cpuid(), i, and replace_string().

Referenced by CPUDevice::description(), and device_cpu_info().

bool system_cpu_support_optimized ( )
CCL_NAMESPACE_BEGIN int system_cpu_thread_count ( )

Definition at line 36 of file util_system.cpp.

References len(), NULL, and uint.

Referenced by CPUDevice::CPUDevice().