Skip to content

benchmark

Attributes

Name
trace_types
trace_type
template_file
list runtimes
runtime_sec
rmws
rmw
parser
help
list exes
exe_patterns
exe
default
tuple create_dir
dictionary common_args
cmdline_args
action

Attributes Documentation

variable trace_types

trace_types;

variable trace_type

trace_type;

variable template_file

template_file;

variable runtimes

list runtimes =  [int(runtime) for runtime in cmdline_args.runtimes.split(',')];

variable runtime_sec

runtime_sec;

variable rmws

rmws;

variable rmw

rmw;

variable parser

parser =  argparse.ArgumentParser(description='Benchmark an executor implementation.');

variable help

help;

variable exes

list exes =  [exe for pattern in exe_patterns
            for exe in available_executables(pattern=pattern, pkg=common_args['pkg'])];

variable exe_patterns

exe_patterns;

variable exe

exe;

variable default

default;

variable create_dir

tuple create_dir =  (not cmdline_args.plot_only);

variable common_args

dictionary common_args =  {'pkg': 'autoware_reference_system',
                   'directory': cmdline_args.logdir};

variable cmdline_args

cmdline_args =  parser.parse_args();

variable action

action;

Updated on 2023-09-17 at 15:43:17 +0000