From ce4aba3e54eb69b0902c75de2db1810ed7dcfe6b Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 15 Dec 2003 18:24:02 -0500 Subject: Add support for getting the hostname --HG-- extra : convert_revision : 498a950e574059eac2e3b1969880ecc04cf53f31 --- base/hostinfo.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'base/hostinfo.hh') diff --git a/base/hostinfo.hh b/base/hostinfo.hh index 2293d2b6a..453a1e69a 100644 --- a/base/hostinfo.hh +++ b/base/hostinfo.hh @@ -29,8 +29,12 @@ #ifndef __HOSTINFO_HH__ #define __HOSTINFO_HH__ +#include + #include "sim/host.hh" +std::string &hostname(); + uint64_t procInfo(char *filename, char *target); inline uint64_t memUsage() -- cgit v1.2.3