Data Structures | |
class | LoadMonitor |
Collects data about current system utilization. More... | |
class | HardwareDescription |
Stores names of all drives and network adapters that are being monitored by the Load Monitor library. More... | |
class | JavaVoidMethodCaller |
Simple wrapper around calls to the void methods via JNI. More... | |
class | LoadSample |
Storage for load sample data. More... | |
Namespaces | |
namespace | util |
Utility namespace. | |
Typedefs | |
typedef ::std::string | String |
String. | |
typedef ::std::stringstream | StringStream |
String stream. | |
Functions | |
string | TimeString (void) |
Build string containing current time. | |
unsigned long long | ConvertTS (unsigned long long secs, unsigned long long nanos) |
Convert time to the internal timestamp. |
This namespace contains all classes that are specific to the Load Monitor implementation.
typedef ::std::string lm::String |
String.
typedef ::std::stringstream lm::StringStream |
String stream.
string lm::TimeString | ( | void | ) |
Build string containing current time.
unsigned long long lm::ConvertTS | ( | unsigned long long | secs, | |
unsigned long long | nanos | |||
) |
Convert time to the internal timestamp.
Convert seconds since the Unix epoch and nanoseconds to the internal time format (number of 100 ns intervals since 1.1. 1601).
secs | Number of seconds since the beginning of the Unix epoch. | |
nanos | Nanoseconds since the beginning of the current second. |