Forum Discussion
Bernie_10630
Mar 05, 2012Nimbostratus
High Low value in System.Statistics.get_global_statistics
I've been exploring iControl System.System Info and System.Statistics and don't understand the high/low values. In some case the high value is zero while in others its not. Could some explain this ...
Jeremy_Mann_141
Nimbostratus
I think the formula is bit shifted, not a power of 32, given the following result:
statistics[] =
(Common.Statistic){
type = "STATISTIC_CLIENT_SIDE_BYTES_IN"
value =
(Common.ULong64){
high = 97
low = 841866601
}
time_stamp = 0
},
(Common.Statistic){
type = "STATISTIC_CLIENT_SIDE_BYTES_OUT"
value =
(Common.ULong64){
high = 390
low = 2041437072
}
time_stamp = 0
},
The formula for the result would be
value = high << 32 + low
Giving value = (97 << 32) + 841,866,601 = 417,453,694,313
The alternative would yield (97^32) + 841866601 = 3773075507922571775273744352333525624409237957166570158701128042
Jeff_d_Ambly_24
Jan 26, 2016Nimbostratus
so what is appropriate formula? should this be bit shifted?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects