mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 08:32:13 +11:00
🎨 bootup output changes
This commit is contained in:
parent
52bc5eeffb
commit
b625e79c48
1 changed files with 2 additions and 2 deletions
4
main.cpp
4
main.cpp
|
|
@ -60,8 +60,8 @@ int main(int argc, char **argv)
|
||||||
bank.Load();
|
bank.Load();
|
||||||
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 * (90 + 80 + (max_name_size * 2))) / 1048576 << "Mb" //90:string representation(heap), sizeof(Transaction), max_name_size*2:filled to&from(heap)
|
<< "\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"
|
<< "\nLoaded " << bank.SumBal() << " CSH"
|
||||||
<< std::endl; //flushing before EventLoop
|
<< std::endl; //flushing before EventLoop
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue