Platform-independent utilities for various OS, hardware, and system resource functionality. More...
Functions | |
DLLPUBLIC size_t | memory_used (bool resident=false) |
DLLPUBLIC void | get_local_time (const time_t *time, struct tm *converted_time) |
DLLPUBLIC std::string | this_program_path () |
Platform-independent utilities for various OS, hardware, and system resource functionality.
DLLPUBLIC void Sysutil::get_local_time | ( | const time_t * | time, | |
struct tm * | converted_time | |||
) |
Convert calendar time pointed by 'time' into local time and save it in 'converted_time' variable
DLLPUBLIC size_t Sysutil::memory_used | ( | bool | resident = false |
) |
The amount of memory currently being used by this process, in bytes. By default, returns the full virtual arena, but if resident=true, it will report just the resident set in RAM.
DLLPUBLIC std::string Sysutil::this_program_path | ( | ) |
Return the full path of the currently-running executable program.