lm Namespace Reference

Load Monitor namespace. More...


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.


Detailed Description

Load Monitor namespace.

This namespace contains all classes that are specific to the Load Monitor implementation.


Typedef Documentation

typedef ::std::string lm::String

String.

typedef ::std::stringstream lm::StringStream

String stream.


Function Documentation

string lm::TimeString ( void   ) 

Build string containing current time.

Returns:
String with time in format "YYYY/MM/DD hh:mm:ss.msec"

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).

Parameters:
secs Number of seconds since the beginning of the Unix epoch.
nanos Nanoseconds since the beginning of the current second.
Returns:
Number of 100 ns intervals since 1.1. 1601.


Generated on Tue Dec 19 17:43:48 2006 for Load Monitor for Linux by  doxygen 1.4.7