diff options
author | Alexander Harkness <me@bearbin.net> | 2015-12-19 15:51:20 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2015-12-19 15:51:20 +0100 |
commit | f764df1a3aa2ce4fd5771d66974fe93c970f9e20 (patch) | |
tree | bdc9006f78ba8ae91e26213130d07e67124b044f /src/Root.cpp | |
parent | Merge pull request #2774 from cuberite/worktycho-patch-1 (diff) | |
parent | Added HTTPS links wherever they are supported. (diff) | |
download | cuberite-f764df1a3aa2ce4fd5771d66974fe93c970f9e20.tar cuberite-f764df1a3aa2ce4fd5771d66974fe93c970f9e20.tar.gz cuberite-f764df1a3aa2ce4fd5771d66974fe93c970f9e20.tar.bz2 cuberite-f764df1a3aa2ce4fd5771d66974fe93c970f9e20.tar.lz cuberite-f764df1a3aa2ce4fd5771d66974fe93c970f9e20.tar.xz cuberite-f764df1a3aa2ce4fd5771d66974fe93c970f9e20.tar.zst cuberite-f764df1a3aa2ce4fd5771d66974fe93c970f9e20.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Root.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Root.cpp b/src/Root.cpp index ed9076268..1fbbaed3c 100644 --- a/src/Root.cpp +++ b/src/Root.cpp @@ -767,7 +767,7 @@ int cRoot::GetVirtualRAMUsage(void) } return -1; #elif defined(__linux__) - // Code adapted from http://stackoverflow.com/questions/63166/how-to-determine-cpu-and-memory-consumption-from-inside-a-process + // Code adapted from https://stackoverflow.com/questions/63166/how-to-determine-cpu-and-memory-consumption-from-inside-a-process std::ifstream StatFile("/proc/self/status"); if (!StatFile.good()) { @@ -785,7 +785,7 @@ int cRoot::GetVirtualRAMUsage(void) } return -1; #elif defined (__APPLE__) - // Code adapted from http://stackoverflow.com/questions/63166/how-to-determine-cpu-and-memory-consumption-from-inside-a-process + // Code adapted from https://stackoverflow.com/questions/63166/how-to-determine-cpu-and-memory-consumption-from-inside-a-process struct task_basic_info t_info; mach_msg_type_number_t t_info_count = TASK_BASIC_INFO_COUNT; @@ -819,7 +819,7 @@ int cRoot::GetPhysicalRAMUsage(void) } return -1; #elif defined(__linux__) - // Code adapted from http://stackoverflow.com/questions/63166/how-to-determine-cpu-and-memory-consumption-from-inside-a-process + // Code adapted from https://stackoverflow.com/questions/63166/how-to-determine-cpu-and-memory-consumption-from-inside-a-process std::ifstream StatFile("/proc/self/status"); if (!StatFile.good()) { @@ -837,7 +837,7 @@ int cRoot::GetPhysicalRAMUsage(void) } return -1; #elif defined (__APPLE__) - // Code adapted from http://stackoverflow.com/questions/63166/how-to-determine-cpu-and-memory-consumption-from-inside-a-process + // Code adapted from https://stackoverflow.com/questions/63166/how-to-determine-cpu-and-memory-consumption-from-inside-a-process struct task_basic_info t_info; mach_msg_type_number_t t_info_count = TASK_BASIC_INFO_COUNT; |