Skip to content
Snippets Groups Projects
Commit 37bd201b authored by Marcel Koch's avatar Marcel Koch
Browse files

print used ssc marks

parent 6a1e7cc9
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,9 @@ def stop_region_timer(region):
return ["LIKWID_MARKER_STOP(\"{}\");".format(region)]
elif get_option("use_sde"):
_sde_marks[region + '_stop'] = len(_sde_marks)
return ["__SSC_MARK(0x{});".format(_sde_marks[region + '_stop'])]
return ["__SSC_MARK(0x{});".format(_sde_marks[region + '_stop']),
"std::cout << \"Timed region {}: {} <--> {}\" << std::endl;".format(region, _sde_marks[region + '_start'],
_sde_marks[region + '_stop'])]
else:
timestream = name_timing_stream()
return ["HP_TIMER_STOP({});".format(region),
......
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