mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
updated at launch stats
This commit is contained in:
parent
e100444042
commit
49816dc18c
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
|
@ -73,7 +73,7 @@ int main(int argc, char **argv)
|
||||||
size_t num_of_logs = Bank::NumOfLogs();
|
size_t num_of_logs = Bank::NumOfLogs();
|
||||||
size_t num_of_users = Bank::NumOfUsers();
|
size_t num_of_users = Bank::NumOfUsers();
|
||||||
std::cout << "\n\nLoaded " << num_of_users << " Users ~" << (float)(sizeof(User) * num_of_users) / 1048576 << "Mb"
|
std::cout << "\n\nLoaded " << num_of_users << " Users ~" << (float)(sizeof(User) * num_of_users) / 1048576 << "Mb"
|
||||||
<< "\nLoaded " << num_of_logs << " Logs ~" << (float)(num_of_logs * (91 + 80 + (max_name_size * 2))) / 1048576 << "Mb" //91:string representation(heap), sizeof(Transaction), max_name_size*2:filled to&from(heap)
|
<< "\nLoaded " << num_of_logs << " Logs ~" << (float)(num_of_logs * (93 + sizeof(Transaction) + max_name_size)) / 1048576 << "Mb" //93:cached response per log(heap), sizeof(Transaction), max_name_size:counterparty(heap)
|
||||||
<< "\nLoaded " << Bank::SumBal() << " C$H"
|
<< "\nLoaded " << Bank::SumBal() << " C$H"
|
||||||
<< std::endl; //flushing before EventLoop
|
<< std::endl; //flushing before EventLoop
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue