From 38593498c433df03d6022124245edd1dcc49f209 Mon Sep 17 00:00:00 2001 From: David Hendriks <davidhendriks93@gmail.com> Date: Mon, 27 Jan 2020 10:46:30 +0000 Subject: [PATCH] small change --- binarycpython/utils/grid.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/binarycpython/utils/grid.py b/binarycpython/utils/grid.py index 162b33e85..31c5edfd7 100644 --- a/binarycpython/utils/grid.py +++ b/binarycpython/utils/grid.py @@ -551,7 +551,10 @@ class Population(object): r = list(p.imap(evolve_mp, g(mass_distribution))) stop_mp = time.time() - print("with mp: {} systems took {}s using {} cores".format(len(mass_distribution), stop_mp-start_mp), self.grid_options['amt_cores']) + print("with mp: {} systems took {}s using {} cores".format(len(mass_distribution), stop_mp-start_mp, self.grid_options['amt_cores'])) + + + # TODO: add functionality to unload all the stores etc ######################################################### # print("Running mp versus no mp is {} times faster!".format((start_no_mp-stop_no_mp)/(start_mp-stop_mp))) -- GitLab