summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-19 22:12:36 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-19 22:12:36 +0000
commit8e83ee21a601747b5b1a391435fde8440a0c1d5f (patch)
tree119551547a7a45943a1da2cfb72301ebbe4bc7af
parentc30f85f6e2ac109cfa6e1d0820c845fd113d277c (diff)
Add support for uptime in win32 named pipe data
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10177 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--win/inspircd_namedpipe.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/win/inspircd_namedpipe.cpp b/win/inspircd_namedpipe.cpp
index d51172c05..6c836cd6a 100644
--- a/win/inspircd_namedpipe.cpp
+++ b/win/inspircd_namedpipe.cpp
@@ -83,6 +83,7 @@ void IPCThread::Run()
stat << "kbitspersectotal " << kbitpersec_total << std::endl;
stat << "kbitspersecout " << kbitpersec_out << std::endl;
stat << "kbitspersecin " << kbitpersec_in << std::endl;
+ stat << "uptime " << ServerInstance->Time() - ServerInstance->startup_time << std::endl;
if (HaveMemoryStats)
{
stat << "workingset " << MemCounters.WorkingSetSize << std::endl;