LoadMonitor.cpp File Reference

Linux port of the LoadMonitor class. More...

#include <iostream>
#include <iomanip>
#include <string>
#include <sstream>
#include <fstream>
#include <utility>
#include <vector>
#include <time.h>
#include <ctype.h>
#include <sys/time.h>
#include <sys/utsname.h>
#include <jni.h>
#include "LoadMonitor.h"
#include "../common/String.h"
#include "../common/HardwareDescription.h"
#include "../common/LoadSample.h"

Namespaces

namespace  lm

Defines

#define KERNEL_VERSION_CODE(major, minor, release)   (0x10000 * (major) + 0x100 * (minor) + (release))
 Calculate kernel version code from version numbers supplied by the uname.

Functions

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.


Detailed Description

Linux port of the LoadMonitor class.

Author:
Branislav Repcek
Date:
5. 12. 2006

Define Documentation

#define KERNEL_VERSION_CODE ( major,
minor,
release   )     (0x10000 * (major) + 0x100 * (minor) + (release))

Calculate kernel version code from version numbers supplied by the uname.


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