added statistics info for key requests

This commit is contained in:
csoler 2016-12-22 00:14:16 +01:00
parent d3051eff1a
commit 0a3ec9706d
12 changed files with 37 additions and 29 deletions

View file

@ -36,9 +36,13 @@
#include <sys/timeb.h>
#endif
std::string RsUtil::NumberToString(uint64_t n)
std::string RsUtil::NumberToString(uint64_t n,bool hex)
{
std::ostringstream os ;
if(hex)
os << std::hex ;
os << n ;
os.flush() ;