[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-server-cvs
Subject: [Server-cvs] engine/core server_info.cpp,1.31.6.1,1.31.6.2
From: jgordon () helixcommunity ! org
Date: 2013-07-31 0:28:59
[Download RAW message or body]
Update of /cvsroot/server/engine/core
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv10866
Modified Files:
Tag: SERVER_NUCLEUS
server_info.cpp
Log Message:
Add a counter for total transcode sessions. Inc/dec when inc/dec
download and hls specific counters. Like ClientCount. :)
Index: server_info.cpp
===================================================================
RCS file: /cvsroot/server/engine/core/server_info.cpp,v
retrieving revision 1.31.6.1
retrieving revision 1.31.6.2
diff -u -d -r1.31.6.1 -r1.31.6.2
--- server_info.cpp 17 Jul 2013 22:26:02 -0000 1.31.6.1
+++ server_info.cpp 31 Jul 2013 00:28:52 -0000 1.31.6.2
@@ -89,6 +89,7 @@
&ServerInfo::IncrementHTTPDownloadTransmuxCount,
&ServerInfo::IncrementHTTPDownloadSrcCount,
&ServerInfo::IncrementHTTPUploadCount,
+ &ServerInfo::IncrementTranscodeCount,
&ServerInfo::IncrementCMSScanCount,
&ServerInfo::IncrementCloudUploadActiveCount,
&ServerInfo::IncrementCloudUploadQueuedCount,
@@ -129,6 +130,7 @@
&ServerInfo::DecrementHTTPDownloadTransmuxCount,
&ServerInfo::DecrementHTTPDownloadSrcCount,
&ServerInfo::DecrementHTTPUploadCount,
+ &ServerInfo::DecrementTranscodeCount,
&ServerInfo::DecrementCMSScanCount,
&ServerInfo::DecrementCloudUploadActiveCount,
&ServerInfo::DecrementCloudUploadQueuedCount,
@@ -292,6 +294,7 @@
, m_lHTTPDownloadTransmuxCount(0)
, m_lHTTPDownloadSrcCount(0)
, m_lHTTPUploadCount(0)
+ , m_lTranscodeCount(0)
, m_lCMSScanCount(0)
, m_lCloudUploadActiveCount(0)
, m_lCloudUploadQueuedCount(0)
@@ -532,6 +535,12 @@
m_lHTTPUploadCount,
pProc);
+ m_lTranscodeCount = 0;
+ m_RegID[TRANSCODE_CLIENT_COUNT] = pProc->pc->registry->
+ AddInt("Server.TranscodeCount",
+ m_lTranscodeCount,
+ pProc);
+
m_lCMSScanCount = 0;
m_RegID[CMS_SCAN_COUNT] = pProc->pc->registry->
AddInt("Server.CMS.ScanCount",
_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic