summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2015-12-19 15:51:20 +0100
committerAlexander Harkness <me@bearbin.net>2015-12-19 15:51:20 +0100
commitf764df1a3aa2ce4fd5771d66974fe93c970f9e20 (patch)
treebdc9006f78ba8ae91e26213130d07e67124b044f /src/Root.cpp
parentMerge pull request #2774 from cuberite/worktycho-patch-1 (diff)
parentAdded HTTPS links wherever they are supported. (diff)
downloadcuberite-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 'src/Root.cpp')
-rw-r--r--src/Root.cpp8
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;