updated at launch stats

This commit is contained in:
EntireTwix 2022-11-28 17:35:36 -08:00
parent e100444042
commit 49816dc18c

View file

@ -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