The dataRecvRate is calculated below as follows:
samplingInterval = currentTime - timeOfLastReading
dataRecvRate = (dataSize / samplingInterval) / 1024
NOTE: 1024 - datasize being sent is in bytes therefore we divide to 1024 since our unit as displayed is in KB/sec
The msgRecvRate is calculated as follows:
samplingInterval = currentTime - timeOfLastReading
msgRecvRate = messageCount/samplingInterval
|
Comments
0 comments
Please sign in to leave a comment.