From b625e79c48b436934e493afc99932af9f0ed5d1a Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Sat, 10 Jul 2021 22:43:00 -0700 Subject: [PATCH] :art: bootup output changes --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 282661d..ee2fd7f 100644 --- a/main.cpp +++ b/main.cpp @@ -60,8 +60,8 @@ int main(int argc, char **argv) bank.Load(); 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 * (90 + 80 + (max_name_size * 2))) / 1048576 << "Mb" //90:string representation(heap), sizeof(Transaction), max_name_size*2:filled to&from(heap) + 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 * (90 + 80 + (max_name_size * 2))) / 1048576 << "Mb" //90:string representation(heap), sizeof(Transaction), max_name_size*2:filled to&from(heap) << "\nLoaded " << bank.SumBal() << " CSH" << std::endl; //flushing before EventLoop