|
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" ] |
| dict | KernelName |
| dict | ImplementationVariant |
| dict | ImplementationVariantName |
| list | Colors = [ "#20a040", "#a04020", "#4020a0", "#f0a0f0", "#f06030", "#6030f0" ] |
| list | Symbols = [ "-s", "-o", "-^", "-v", "-<", "->" ] |
| int | ParticleSize = 272 |
| dict | L2CacheSizeMap |
| print-kernel-throughput.process_file | ( | filename | ) |
Definition at line 118 of file print-kernel-throughput.py.
References process_file(), and read_file().
Referenced by process_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 37 of file print-kernel-throughput.py.
Referenced by process_file().

| list print-kernel-throughput.Colors = [ "#20a040", "#a04020", "#4020a0", "#f0a0f0", "#f06030", "#6030f0" ] |
Definition at line 108 of file print-kernel-throughput.py.
| dict print-kernel-throughput.ImplementationVariant |
Definition at line 78 of file print-kernel-throughput.py.
| dict print-kernel-throughput.ImplementationVariantName |
Definition at line 100 of file print-kernel-throughput.py.
| dict print-kernel-throughput.KernelName |
Definition at line 70 of file print-kernel-throughput.py.
| list print-kernel-throughput.Kernels = [ "density", "force", "kick1", "kick2", "drift" ] |
Definition at line 68 of file print-kernel-throughput.py.
| dict print-kernel-throughput.L2CacheSizeMap |
Definition at line 113 of file print-kernel-throughput.py.
| dict print-kernel-throughput.params |
Definition at line 12 of file print-kernel-throughput.py.
| int print-kernel-throughput.ParticleSize = 272 |
Definition at line 111 of file print-kernel-throughput.py.
| list print-kernel-throughput.Symbols = [ "-s", "-o", "-^", "-v", "-<", "->" ] |
Definition at line 109 of file print-kernel-throughput.py.