#include <sys_resources.h>

Public Member Functions | |
| int | memory_usage_mbytes (void) const throw () |
| int | user_time_seconds (void) const throw () |
| int | system_time_seconds (void) const throw () |
| int | time_seconds (void) const throw () |
| int | wc_time_seconds (void) const throw () |
Static Public Member Functions | |
| static const SystemResources & | instance (void) throw () |
| static const SystemResources& shawn::SystemResources::instance | ( | void | ) | throw () [static] |
| int shawn::SystemResources::memory_usage_mbytes | ( | void | ) | const throw () |
| int shawn::SystemResources::user_time_seconds | ( | void | ) | const throw () |
| int shawn::SystemResources::system_time_seconds | ( | void | ) | const throw () |
| int shawn::SystemResources::time_seconds | ( | void | ) | const throw () |
user_time_seconds() + system_time_seconds(), or -1 if unknown
| int shawn::SystemResources::wc_time_seconds | ( | void | ) | const throw () |
wall clock time since application start, in seconds, or -1 if unknown
1.5.6