From 49816dc18cb8427d51e1ecdb8f2514527b9e6d1a Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Mon, 28 Nov 2022 17:35:36 -0800 Subject: [PATCH] updated at launch stats --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 270f319..8f6c499 100644 --- a/main.cpp +++ b/main.cpp @@ -73,7 +73,7 @@ int main(int argc, char **argv) size_t num_of_logs = Bank::NumOfLogs(); size_t num_of_users = Bank::NumOfUsers(); 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" << std::endl; //flushing before EventLoop