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:

CL_CPU_ExtensionX86

CL_CPU_ExtensionPPC

get_time

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

get_microseconds

Get the current time microseconds.

detect_cpu_extension

get_sharedptr_mutex

Returns the mutex used by CL_SharedPtr.

get_num_cores

Return the number of CPU cores.


Operations:

aligned_alloc

Allocates aligned memory.

aligned_free

Frees aligned memory.

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.

pause

Pause for 'millis' milliseconds.

get_exe_path

Returns the full dirname of the executable that started this.

call_constructor

Calls the constructor of a class.

call_destructor

Calls the destructor of a class.