@@ -65,22 +65,25 @@ int main()
6565 count++;
6666 std::this_thread::sleep_for (std::chrono::seconds (1 ));
6767 // std::cout << "Inflight: " <<
68- // snmalloc::RemoteDeallocCache<snmalloc::Config>::remote_inflight << std::endl; std::cout
68+ // snmalloc::RemoteDeallocCache<snmalloc::Config>::remote_inflight <<
69+ // std::endl; std::cout
6970 // << "Current reservation: " << snmalloc::Globals::get_current_usage() <<
7071 // std::endl; std::cout << "Peak reservation: " <<
7172 // snmalloc::Globals::get_peak_usage() << std::endl; std::cout <<
7273 // "Allocator count: " << snmalloc::Globals::pool().get_count() <<
7374 // std::endl; std::cout << "Running threads: " << running <<
7475 // std::endl; std::cout << "Index: " << count << std::endl;
7576 // std::cout << "------------------------------------------" << std::endl;
76- std::cout << count << " ,"
77- << snmalloc::Alloc::Config::Backend::get_peak_usage () << " ,"
78- << snmalloc::Alloc::Config::Backend::get_current_usage () << " ,"
79- << requests.get_curr () << " ," << requests.get_peak () << " ,"
80- << snmalloc::RemoteDeallocCache<snmalloc::Config>::remote_inflight.get_peak ()
81- << " ,"
82- << snmalloc::RemoteDeallocCache<snmalloc::Config>::remote_inflight.get_curr ()
83- << std::endl;
77+ std::cout
78+ << count << " ," << snmalloc::Alloc::Config::Backend::get_peak_usage ()
79+ << " ," << snmalloc::Alloc::Config::Backend::get_current_usage () << " ,"
80+ << requests.get_curr () << " ," << requests.get_peak () << " ,"
81+ << snmalloc::RemoteDeallocCache<snmalloc::Config>::remote_inflight
82+ .get_peak ()
83+ << " ,"
84+ << snmalloc::RemoteDeallocCache<snmalloc::Config>::remote_inflight
85+ .get_curr ()
86+ << std::endl;
8487 snmalloc::print_alloc_stats ();
8588 }
8689 }).join ();
0 commit comments