Skip to content

Commit

Permalink
Merge pull request #5 from INM-6/fix_memory_logging
Browse files Browse the repository at this point in the history
Add more memory logging to microcircuit
  • Loading branch information
jasperalbers authored Dec 10, 2021
2 parents 0b5cdb7 + b6f0d5b commit bdac430
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Potjans_2014/bm_run_microcircuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
py_timers = {}
memory_used = {}

memory_used['base_memory'] = memory()

t0 = time.time()
net = network.Network(sim_dict, net_dict, stim_dict)
t1 = time.time()
Expand All @@ -65,6 +67,7 @@
net.create()
t2 = time.time()
py_timers['py_time_create'] = t2 - t1
memory_used['node_memory'] = memory()

net.connect()
t3 = time.time()
Expand Down

0 comments on commit bdac430

Please sign in to comment.