![]() |
Laelaps
2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
|
Perform Laelaps main CPU diagnostics. More...
#include <sys/utsname.h>#include <unistd.h>#include <termios.h>#include <string.h>#include <stdio.h>#include <stdlib.h>#include <stdarg.h>#include <iostream>#include <fstream>#include <string>#include <vector>#include <algorithm>#include "rnr/rnrconfig.h"#include "rnr/log.h"#include "rnr/opts.h"#include "rnr/pkg.h"#include "Laelaps/laelaps.h"#include "Laelaps/laeUtils.h"#include "Laelaps/laeSysDev.h"#include "laelaps_diag.h"Go to the source code of this file.
Functions | |
| static void | trim (string &str) |
| static void | tolower (string &str) |
| static string | normalize (string str) |
| static bool | parseCpuInfo (string &strCpuHw, string &strCpuRev, int &numCores) |
| static bool | parseLsbRelease (string &strDistribId, string &strDistribRel, string &strDistribCode, string &strDistribDesc) |
| static bool | parseEthMacAddr (string &strEthMacAddr) |
| static bool | parseMmcCid (string &strMmcCid) |
| static DiagStats | readInfo () |
| DiagStats | runCpuDiagnostics () |
Variables | |
| static const char * | SubSysName = "CPU" |
| static const char * | ProdName = "Odroid" |
Perform Laelaps main CPU diagnostics.
Definition in file diagCpu.cxx.