hashmaps are now first class objects in the language
This commit is contained in:
@@ -17,10 +17,9 @@ def append_to_datas(thread, data):
|
||||
ensure_big_enough(datas, thread, [])
|
||||
datas[thread].append(data)
|
||||
|
||||
with open("../bin/profiler.report", "r") as file:
|
||||
with open("../src/profiler_reports/04.10.2019-13.29.21-140737348403048-profiler.report", "r") as file:
|
||||
for line in file:
|
||||
infos = line.split()
|
||||
thread = int(infos[0])
|
||||
if infos[1] == "->":
|
||||
incr_call_depth(thread)
|
||||
append_to_datas(thread, {
|
||||
|
||||
Reference in New Issue
Block a user