Provides detailed statistics about the current state of the FIX Engine.
More...
#include <B2BITS_Statistics.h>
Provides detailed statistics about the current state of the FIX Engine.
◆ MsgProtocolTypeT
Type definition for pair version protocol and message type.
◆ getAverageReceivedMsgHandling()
System::u64 Engine::StatisticsProvider::getAverageReceivedMsgHandling |
( |
| ) |
const |
Calculates average handling time for all received messages.
- Returns
- 0
- Deprecated
- Switched off by performance reasons. Still present for compatibility.
◆ getAverageReceivedMsgHandlingByType()
System::u64 Engine::StatisticsProvider::getAverageReceivedMsgHandlingByType |
( |
const MsgProtocolTypeT & | msgType | ) |
const |
Calculates average handling time of received messages for passed message type.
- Parameters
-
msgType | - type of the message |
- Returns
- 0
- Deprecated
- Switched off by performance reasons. Still present for compatibility.
◆ getAverageReceivedMsgHandlingByTypes()
void Engine::StatisticsProvider::getAverageReceivedMsgHandlingByTypes |
( |
const std::set< MsgProtocolTypeT > & | types, |
|
|
std::map< MsgProtocolTypeT, System::u64 > * | averages ) const |
Calculates average handling time of received messages for all passed message types.
- Parameters
-
| types | - contains set of types that handling time will be evaluated |
[out] | averages | - contains MsgProtocolTypeT => 0 map |
- Deprecated
- Switched off by performance reasons. Still present for compatibility.
◆ getAverageSendMsgHandling()
System::u64 Engine::StatisticsProvider::getAverageSendMsgHandling |
( |
| ) |
const |
Calculates average handling time of sent messages for all messages.
- Returns
- 0
- Deprecated
- Switched off by performance reasons. Still present for compatibility.
◆ getAverageSendMsgHandlingByType()
System::u64 Engine::StatisticsProvider::getAverageSendMsgHandlingByType |
( |
const MsgProtocolTypeT & | msgType | ) |
const |
Calculates average handling time of sent messages for passed message.
- Parameters
-
msgType | - type of the message |
- Returns
- 0
- Deprecated
- Switched off by performance reasons. Still present for compatibility.
◆ getAverageSendMsgHandlingByTypes()
void Engine::StatisticsProvider::getAverageSendMsgHandlingByTypes |
( |
const std::set< MsgProtocolTypeT > & | types, |
|
|
std::map< MsgProtocolTypeT, System::u64 > * | averages ) const |
Calculates average handling time of sent messages for all passed message types.
- Parameters
-
| types | - contains set of types that handling time will be evaluated |
[out] | averages | - contains MsgProtocolTypeT => 0 map |
- Deprecated
- Switched off by performance reasons. Still present for compatibility.
◆ getAverageValidationTime()
System::u64 Engine::StatisticsProvider::getAverageValidationTime |
( |
| ) |
const |
Calculates average validation time for all messages.
- Returns
- 0
- Deprecated
- Switched off by performance reasons. Still present for compatibility.
◆ getAverageValidationTimeByType()
System::u64 Engine::StatisticsProvider::getAverageValidationTimeByType |
( |
const MsgProtocolTypeT & | msgType | ) |
const |
Calculates average validation time for passed message type.
- Parameters
-
msgType | - type of the message |
- Returns
- 0
- Deprecated
- Switched off by performance reasons. Still present for compatibility.
◆ getAverageValidationTimeByTypes()
void Engine::StatisticsProvider::getAverageValidationTimeByTypes |
( |
const std::set< MsgProtocolTypeT > & | types, |
|
|
std::map< MsgProtocolTypeT, System::u64 > * | averages ) const |
Calculates average validation time for all passed message types.
- Parameters
-
types | - contains set of types that handling time will be evaluated |
averages | - contains MsgProtocolTypeT => 0 map |
- Deprecated
- Switched off by performance reasons. Still present for compatibility.
◆ getProceedMsgCount()
std::size_t Engine::StatisticsProvider::getProceedMsgCount |
( |
| ) |
const |
Calculates total proceed message amount.
- Returns
- 0
- Deprecated
- Switched off by performance reasons. Still present for compatibility.
◆ getReceivedMsgCount()
std::size_t Engine::StatisticsProvider::getReceivedMsgCount |
( |
| ) |
const |
Calculates received message amount.
- Returns
- 0
- Deprecated
- Switched off by performance reasons. Still present for compatibility.
◆ getSentMsgCount()
std::size_t Engine::StatisticsProvider::getSentMsgCount |
( |
| ) |
const |
Calculates sent message amount.
- Returns
- 0
- Deprecated
- Switched off by performance reasons. Still present for compatibility.
◆ getSessionState() [1/2]
Returns state of the session
◆ getSessionState() [2/2]
bool Engine::StatisticsProvider::getSessionState |
( |
const std::string & | sender, |
|
|
const std::string & | target, |
|
|
Session::State * | state ) const |
Returns state of the session