#include "src/base/sys-info.h"
#if V8_OS_POSIX
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#if !V8_OS_FUCHSIA
#include <sys/resource.h>
#endif
#endif
#if V8_OS_BSD
#include <sys/sysctl.h>
#endif
#include <limits>
#include "src/base/logging.h"
#include "src/base/macros.h"
#if V8_OS_WIN
#include <windows.h>
#endif
#if V8_OS_STARBOARD
#include "starboard/system.h"
#endif
namespace v8 {
namespace base {
int SysInfo::NumberOfProcessors() { … }
int64_t SysInfo::AmountOfPhysicalMemory() { … }
int64_t SysInfo::AmountOfVirtualMemory() { … }
uintptr_t SysInfo::AddressSpaceEnd() { … }
}
}