#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. |
#define KERNEL_VERSION_CODE | ( | major, | |||
minor, | |||||
release | ) | (0x10000 * (major) + 0x100 * (minor) + (release)) |
Calculate kernel version code from version numbers supplied by the uname
.