|
Static Public Member Functions |
|
| static unsigned int | get_time () |
| | Get the current time (since system boot), in milliseconds.
|
| static bool | detect_mmx () |
| | Returns true if MMX technology is available on this CPU.
|
| static bool | detect_3dnow () |
| | Returns true if 3DNow! technology is available on this CPU.
|
| static bool | detect_ext_3dnow () |
| | Returns true if extended 3DNow! is present on this CPU.
|
| static CL_Mutex * | get_sharedptr_mutex () |
| | Returns the mutex used by CL_SharedPtr.
|
| static int | get_num_cores () |
| | Return the number of CPU cores.
|
|
| static int | capture_stack_trace (int frames_to_skip, int max_frames, void **out_frames, unsigned int *out_hash=0) |
| | Captures a stack back trace by walking up the stack and recording the information for each frame.
|
| static std::vector< CL_String > | get_stack_frames_text (void **frames, int num_frames) |
| | Returns the function names and lines for the specified stack frame addresses.
|
| static void | sleep (int millis) |
| | Sleep for 'millis' milliseconds.
|
| static CL_String | get_exe_path () |
| | Returns the full dirname of the executable that started this process (aka argv[0]).
|
| template<typename T> |
| static void | call_constructor (T *memory) |
| | Calls the constructor of a class.
|
| template<typename T, typename P1> |
| static void | call_constructor (T *memory, P1 p1) |
| template<typename T, typename P1, typename P2> |
| static void | call_constructor (T *memory, P1 p1, P2 p2) |
| template<typename T, typename P1, typename P2, typename P3> |
| static void | call_constructor (T *memory, P1 p1, P2 p2, P3 p3) |
| template<typename T, typename P1, typename P2, typename P3, typename P4> |
| static void | call_constructor (T *memory, P1 p1, P2 p2, P3 p3, P4 p4) |
| template<typename T, typename P1, typename P2, typename P3, typename P4, typename P5> |
| static void | call_constructor (T *memory, P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) |
| template<typename T, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6> |
| static void | call_constructor (T *memory, P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6) |
| template<typename T, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7> |
| static void | call_constructor (T *memory, P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7) |
| template<typename T> |
| static void | call_destructor (T *memory) |
| | Calls the destructor of a class.
|
| static void | alloc_thread_temp_pool () |
| static void | free_thread_temp_pool () |