![]() |
Peano
|
Functions | |
read_file (file_name, kernel_name) | |
Read one output file. | |
process_file (filename) | |
Variables | |
dict | params |
list | Kernels = [ "density", "force", "kick1", "kick2", "drift" ] |
list | ImplementationVariant = [ "(baseline)", "(predicates)", "(coalesced,native)", "(prefix,native)", "(offloading,omp)" ] |
list | Colors = [ "#20a040", "#a04020", "#4020a0", "#f0a0f0", "#f06030", "#6030f0" ] |
list | Symbols = [ "-s", "-o", "-^", "-v", "-<", "->" ] |
file = sys.argv[1] | |
print-kernel-throughput.process_file | ( | filename | ) |
Definition at line 70 of file print-kernel-throughput.py.
References read_file().
print-kernel-throughput.read_file | ( | file_name, | |
kernel_name ) |
Read one output file.
Parses one input file identified through file_name and returns two lists: the first one is a list of the number of particles, the second gives the timings. We only parse data from one kernel type identified through kernel_name.
Definition at line 33 of file print-kernel-throughput.py.
Referenced by process_file().
list print-kernel-throughput.Colors = [ "#20a040", "#a04020", "#4020a0", "#f0a0f0", "#f06030", "#6030f0" ] |
Definition at line 66 of file print-kernel-throughput.py.
print-kernel-throughput.file = sys.argv[1] |
Definition at line 121 of file print-kernel-throughput.py.
list print-kernel-throughput.ImplementationVariant = [ "(baseline)", "(predicates)", "(coalesced,native)", "(prefix,native)", "(offloading,omp)" ] |
Definition at line 65 of file print-kernel-throughput.py.
list print-kernel-throughput.Kernels = [ "density", "force", "kick1", "kick2", "drift" ] |
Definition at line 64 of file print-kernel-throughput.py.
dict print-kernel-throughput.params |
Definition at line 11 of file print-kernel-throughput.py.
list print-kernel-throughput.Symbols = [ "-s", "-o", "-^", "-v", "-<", "->" ] |
Definition at line 67 of file print-kernel-throughput.py.