gem5
v20.1.0.0
|
#include <unistd.h>
#include "base/hostinfo.hh"
#include <cctype>
#include <cerrno>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
#include "base/logging.hh"
#include "base/str.hh"
#include "base/types.hh"
Go to the source code of this file.
Functions | |
string | __get_hostname () |
string & | hostname () |
uint64_t | procInfo (const char *filename, const char *target) |
uint64_t | memUsage () |
Determine the simulator process' total virtual memory usage. More... | |
string __get_hostname | ( | ) |
string& hostname | ( | ) |
Definition at line 64 of file hostinfo.cc.
References __get_hostname().
uint64_t memUsage | ( | ) |
Determine the simulator process' total virtual memory usage.
Definition at line 99 of file hostinfo.cc.
References procInfo().
Referenced by Stats::Global::Global().
uint64_t procInfo | ( | const char * | filename, |
const char * | target | ||
) |
Definition at line 71 of file hostinfo.cc.
References ArmISA::format, ArmISA::fp, startswith(), and usage().
Referenced by memUsage().