MCPcopy Create free account
hub / github.com/Icinga/icinga2 / AddMessageSent

Method AddMessageSent

lib/remote/endpoint.cpp:122–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void Endpoint::AddMessageSent(int bytes)
123{
124 double time = Utility::GetTime();
125 m_MessagesSent.InsertValue(time, 1);
126 m_BytesSent.InsertValue(time, bytes);
127 SetLastMessageSent(time);
128}
129
130void Endpoint::AddMessageReceived(int bytes)
131{

Callers 1

WriteOutgoingMessagesMethod · 0.80

Calls 1

InsertValueMethod · 0.80

Tested by

no test coverage detected