Skip to content
Snippets Groups Projects
Commit bacafe03 authored by Prakalp Srivastava's avatar Prakalp Srivastava
Browse files

Added calculation for Timer Wall time - IO to parboil scripts

parent c7ee3931
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ import matplotlib.pyplot as plt
default_value = '0.0'
num_figs = 0
# parse a csv file and create a dictionary holding all the data
def parseCSVFile(filename):
# open file
......@@ -181,6 +181,7 @@ def printTimerDecomposition(csvDict, isVisc):
('Final', 'Output Pack'),
('Parboil', 'Mem_Untrack'),
('Parboil', 'Clear_Ctx'),
('Final', 'Timer Wall - IO'),
('GenVISC_Timer', 'Timer Wall Time')]
else:
timers =[('Final', 'Init_Ctx'),
......@@ -203,6 +204,7 @@ def printTimerDecomposition(csvDict, isVisc):
('Final', 'Output_Pack'),
('Final', 'Mem_Untrack'),
('Final', 'Clear_Ctx'),
('Final', 'Timer Wall - IO'),
('Final', 'Timer Wall Time')]
line = "Category,"
......@@ -252,7 +254,8 @@ def plotTimerDecomposition(csvDict, plotapp):
('Final', 'Output Pack'),
('Parboil', 'Mem_Untrack'),
('Parboil', 'Clear_Ctx'),
('GenVISC_Timer', 'Timer Wall Time')]
('Final', 'Timer Wall - IO'),
('Final', 'Timer Wall Time')]
opencl_timers =[('Final', 'Init_Ctx'),
('Final', 'Arg_Unpack'),
('Final', 'Copy_Scalar'),
......@@ -273,6 +276,7 @@ def plotTimerDecomposition(csvDict, plotapp):
('Final', 'Output_Pack'),
('Final', 'Mem_Untrack'),
('Final', 'Clear_Ctx'),
('Final', 'Timer Wall - IO'),
('Final', 'Timer Wall Time')]
for app in apps:
......
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