All Classes |Grouped Classes |Index

Class CL_System

General system helper functions. More...

Derived from:

None

Derived by:

None

Group:

System (Core)

#include <ClanLib/core.h>

Class Members:

Attributes:

get_time

Get the current time (since system boot), in milliseconds.

detect_mmx

Returns true if MMX technology is available on this CPU.

detect_3dnow

Returns true if 3DNow! technology is available on this CPU.

detect_ext_3dnow

Returns true if extended 3DNow! is present on this CPU.

get_sharedptr_mutex

Returns the mutex used by CL_SharedPtr .

get_num_cores

Return the number of CPU cores.


Operations:

capture_stack_trace

Captures a stack back trace by walking up the stack and recording the information for each frame.

get_stack_frames_text

Returns the function names and lines for the specified stack frame addresses.

sleep

Sleep for 'millis' milliseconds.

get_exe_path

Returns the full dirname of the executable that started this process (aka argv[0]).

call_constructor

Calls the constructor of a class.

call_destructor

Calls the destructor of a class.

alloc_thread_temp_pool

free_thread_temp_pool