Skip to content
Snippets Groups Projects
Commit d0132111 authored by David Hendriks's avatar David Hendriks
Browse files

Merge branch 'population' of gitlab.eps.surrey.ac.uk:ri0005/binary_c-python into population

parents 290b3746 78624ac1
No related branches found
No related tags found
No related merge requests found
......@@ -618,12 +618,16 @@ class Population(object):
print("with mp: {} systems took {}s".format(amt, stop_mp - start_mp))
#########################################################
duration_no_mp = start_no_mp - stop_no_mp
duration_mp = start_mp - stop_mp
ratio = duration_no_mp/duration_mp
print(
"Running mp versus no mp is {} times faster!".format(
(start_no_mp - stop_no_mp) / (start_mp - stop_mp)
ratio
)
)
return (nodes, amt, stop_no_mp - start_no_mp, stop_mp - start_mp)
return (nodes, amt, duration_no_mp, duration_mp, ratio)
def evolve_population_mp(self, parse_function, mass_distribution):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment