Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list decorator_list Assign NameStore Str Assign NameStore ListLoad Call NameLoad Str Assign NameStore Call NameLoad Assign NameStore ListLoad Call NameLoad Str keyword NameLoad keyword Str Call NameLoad Str keyword NameLoad keyword ListLoad Str Str keyword Str keyword Str Call NameLoad Str keyword NameLoad keyword NameLoad keyword Str Call NameLoad Str keyword NameLoad keyword NameLoad keyword Str Call NameLoad Str keyword NameLoad keyword NameLoad keyword Str Call NameLoad Str keyword NameLoad keyword BinOpMult Num Num keyword Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr attr NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd NameLoad BinOpMult Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr ListLoad NameLoad NameLoad NameLoad Str keyword NameLoad Assign NameStore NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr ListLoad Str For NameStore AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Break If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str orelse Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call NameLoad If BoolOpOr AttributeLoad NameLoad attr CompareLt Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad For NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameStore body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If BoolOpOr AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore ListLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body TryExcept body Assign NameStore AttributeLoad NameLoad attr AugAssignAdd NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Call AttributeLoad Str attr ListLoad NameLoad NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad Str attr NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr If CompareEq Call NameLoad NameLoad Num body Return Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Num For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareGt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Pass If UnaryOpNot NameLoad body Raise Call NameLoad Str Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list
N/A N/A os N/A re N/A string N/A tarfile collections defaultdict wlauto Workload Parameter Alias wlauto.exceptions ConfigError WorkloadError wlauto.common.resources ExtensionAsset wlauto.utils.misc get_cpu_mask wlauto.utils.types boolean list_or_string Spec2000 N/A Workload N/A N/A name spec2000 N/A description 
    SPEC2000 benchmarks measuring processor, memory and compiler.

    http://www.spec.org/cpu2000/

    From the web site:

    SPEC CPU2000 is the next-generation industry-standardized CPU-intensive benchmark suite. SPEC
    designed CPU2000 to provide a comparative measure of compute intensive performance across the
    widest practical range of hardware. The implementation resulted in source code benchmarks
    developed from real user applications. These benchmarks measure the performance of the
    processor, memory and compiler on the tested system.

    .. note:: At the moment, this workload relies on pre-built SPEC binaries (included in an
              asset bundle). These binaries *must* be built according to rules outlined here::

                  http://www.spec.org/cpu2000/docs/runrules.html#toc_2.0

              in order for the results to be valid SPEC2000 results.

    .. note:: This workload does not attempt to generate results in an admissible SPEC format. No
              metadata is provided (though some, but not all, of the required metdata is colleted
              by WA elsewhere). It is upto the user to post-process results to generated
              SPEC-admissible results file, if that is their intention.

    *base vs peak*

    SPEC2000 defines two build/test configuration: base and peak. Base is supposed to use basic
    configuration (e.g. default compiler flags) with no tuning, and peak is specifically optimized for
    a system. Since this workload uses externally-built binaries, there is no way for WA to be sure
    what configuration is used -- the user is expected to keep track of that. Be aware that
    base/peak also come with specfic requirements for the way workloads are run (e.g. how many instances
    on multi-core systems)::

        http://www.spec.org/cpu2000/docs/runrules.html#toc_3

    These are not enforced by WA, so it is again up to the user to ensure that correct workload
    parameters are specfied inthe agenda, if they intend to collect "official" SPEC results. (Those
    interested in collecting official SPEC results should also note that setting runtime parameters
    would violate SPEC runs rules that state that no configuration must be done to the platform
    after boot).

    *bundle structure*

    This workload expects the actual benchmark binaries to be provided in a tarball "bundle" that has
    a very specific structure. At the top level of the tarball, there should be two directories: "fp"
    and "int" -- for each of the SPEC2000 categories. Under those, there is a sub-directory per benchmark.
    Each benchmark sub-directory contains three sub-sub-directorie:

    - "cpus" contains a subdirector for each supported cpu (e.g. a15) with a single executable binary
      for that cpu, in addition to a "generic" subdirectory that has not been optimized for a specific
      cpu and should run on any ARM system.
    - "data" contains all additional files (input, configuration, etc) that  the benchmark executable
      relies on.
    - "scripts" contains one or more one-liner shell scripts that invoke the benchmark binary with
      appropriate command line parameters. The name of the script must be in the format
      <benchmark name>[.<variant name>].sh, i.e. name of benchmark, optionally followed by variant
      name, followed by ".sh" extension. If there is more than one script, then all of them must
      have  a variant; if there is only one script the it should not cotain a variant.

    A typical bundle may look like this::

        |- fp
        |  |-- ammp
        |  |   |-- cpus
        |  |   |   |-- generic
        |  |   |   |   |-- ammp
        |  |   |   |-- a15
        |  |   |   |   |-- ammp
        |  |   |   |-- a7
        |  |   |   |   |-- ammp
        |  |   |-- data
        |  |   |   |-- ammp.in
        |  |   |-- scripts
        |  |   |   |-- ammp.sh
        |  |-- applu
        .  .   .
        .  .   .
        .  .   .
        |- int
        .

     _SPECSummaryMetrics N/A object N/A __contains__ N/A N/A self item N/A N/A N/A N/A N/A item endswith _real N/A N/A N/A asset_file spec2000-assets.tar.gz N/A aliases N/A N/A Alias spec2k N/A summary_metrics N/A _SPECSummaryMetrics N/A parameters N/A N/A Parameter benchmarks kind list_or_string description Specfiles the SPEC benchmarks to run. N/A Parameter mode kind str allowed_values N/A speed rate default speed description SPEC benchmarks can report either speed to execute or throughput/rate. In the latter case, several "threads" will be spawned. N/A Parameter number_of_threads kind int default None description Specify the number of "threads" to be used in 'rate' mode. (Note: on big.LITTLE systems this is the number of threads, for *each cluster*).  N/A Parameter force_extract_assets kind boolean default False description if set to ``True``, will extract assets from the bundle, even if they are already extracted. Note: this option implies ``force_push_assets``. N/A Parameter force_push_assets kind boolean default False description If set to ``True``, assets will be pushed to device even if they're already present. N/A Parameter timeout kind int default N/A 20 60 description Timemout, in seconds, for the execution of single spec test. N/A speed_run_template cd {datadir}; time ({launch_command}) N/A rate_run_template cd {datadir}; time ({loop}; wait) N/A loop_template for i in $(busybox seq 1 {threads}); do {launch_command} 1>/dev/null 2>&1 & done N/A launch_template busybox taskset {cpumask} {command} 1>/dev/null 2>&1 N/A timing_regex N/A N/A re compile (?P<minutes>\d+)m(?P<seconds>[\d.]+)s\s+(?P<category>\w+) init_resources N/A N/A self context N/A N/A N/A N/A N/A self _load_spec_benchmarks context N/A setup N/A N/A self context N/A N/A N/A cpus N/A N/A self device core_names N/A N/A cpus N/A N/A N/A WorkloadError Device has not specifed CPU cores configruation. N/A cpumap N/A defaultdict list N/A N/A i cpu N/A enumerate cpus N/A N/A N/A N/A N/A cpumap N/A N/A N/A cpu lower append i N/A benchspec N/A self benchmarks N/A N/A commandspecs N/A N/A self _verify_and_deploy_benchmark benchspec cpumap N/A N/A N/A self _build_command benchspec commandspecs N/A run N/A N/A self context N/A N/A N/A N/A name command N/A self commands N/A N/A N/A N/A self timings N/A name N/A N/A N/A self device execute command timeout N/A self timeout N/A update_result N/A N/A self context N/A N/A N/A N/A benchmark output N/A N/A N/A self timings iteritems N/A N/A matches N/A N/A N/A self timing_regex finditer output N/A found False N/A match matches N/A N/A category N/A N/A match group category N/A mins N/A float N/A N/A match group minutes N/A secs N/A float N/A N/A match group seconds N/A total N/A secs N/A 60 mins N/A N/A N/A N/A context result add_metric N/A N/A _ join N/A benchmark category total seconds lower_is_better True N/A found True N/A N/A found N/A N/A N/A N/A N/A self logger error N/A N/A Could not get timings for {} format benchmark N/A validate N/A N/A self N/A N/A N/A N/A self force_extract_assets N/A N/A N/A self force_push_assets True N/A N/A N/A self benchmarks None N/A N/A N/A self benchmarks N/A all N/A benchname N/A self benchmarks N/A N/A N/A benchname all N/A N/A N/A self benchmarks N/A N/A N/A self loaded_benchmarks keys N/A N/A N/A benchname N/A self loaded_benchmarks N/A N/A N/A ConfigError N/A N/A Unknown SPEC benchmark: {} format benchname N/A N/A N/A self mode speed N/A N/A N/A N/A self number_of_threads None N/A N/A N/A ConfigError number_of_threads cannot be specified in speed mode. N/A N/A N/A ValueError N/A N/A Unexpected SPEC2000 mode: {} format N/A self mode N/A N/A self commands N/A N/A N/A self timings N/A N/A _load_spec_benchmarks N/A N/A self context N/A N/A N/A N/A self loaded_benchmarks N/A N/A N/A self categories N/A set N/A N/A N/A self force_extract_assets N/A N/A len N/A N/A os listdir N/A self dependencies_directory 2 N/A N/A bundle N/A N/A N/A context resolver get N/A ExtensionAsset self N/A self asset_file N/A N/A N/A tarfile open bundle r:gz tf N/A N/A N/A N/A tf extractall N/A self dependencies_directory N/A entry N/A N/A os listdir N/A self dependencies_directory N/A N/A entrypath N/A N/A N/A os path join N/A self dependencies_directory entry N/A N/A N/A N/A os path isdir entrypath N/A N/A bench N/A N/A os listdir entrypath N/A N/A N/A N/A N/A self categories add entry N/A benchpath N/A N/A N/A os path join entrypath bench N/A N/A N/A self _load_benchmark benchpath entry N/A _load_benchmark N/A N/A self path category N/A N/A N/A datafiles N/A N/A cpus N/A N/A df N/A N/A os listdir N/A N/A N/A os path join path data N/A N/A N/A N/A datafiles append N/A N/A N/A os path join path data df N/A cpu N/A N/A os listdir N/A N/A N/A os path join path cpus N/A N/A N/A N/A cpus append cpu N/A commandsdir N/A N/A N/A os path join path commands N/A command N/A N/A os listdir commandsdir N/A N/A bench N/A SpecBenchmark N/A N/A bench name N/A N/A N/A N/A os path splitext command N/A 0 N/A N/A bench path path N/A N/A bench category category N/A N/A bench datafiles datafiles N/A N/A bench cpus cpus N/A N/A open N/A N/A N/A os path join commandsdir command fh N/A N/A N/A bench command_template N/A N/A string Template N/A N/A N/A N/A fh read strip N/A N/A N/A self loaded_benchmarks N/A N/A bench name bench N/A _verify_and_deploy_benchmark N/A N/A self benchspec cpumap N/A N/A N/A Verifies that the supplied benchmark spec is valid and deploys the required assets
        to the device (if necessary). Returns a list of command specs (one for each CPU cluster)
        that can then be used to construct the final command. N/A bench N/A N/A self loaded_benchmarks N/A benchspec N/A basename N/A N/A N/A benchspec split . N/A 0 N/A datadir N/A N/A N/A N/A self device path join N/A N/A self device working_directory N/A self name basename N/A N/A N/A self force_push_assets N/A N/A N/A N/A self device file_exists datadir N/A N/A N/A N/A N/A self device execute N/A N/A mkdir -p {} format datadir N/A datafile N/A bench datafiles N/A N/A N/A N/A N/A self device push_file datafile N/A N/A N/A N/A self device path join datadir N/A N/A N/A os path basename datafile N/A N/A N/A self mode speed N/A N/A cpus N/A N/A N/A N/A N/A self _get_fastest_cpu lower N/A N/A cpus N/A N/A cpumap keys N/A cmdspecs N/A N/A cpu cpus N/A N/A N/A N/A host_bin_file N/A N/A bench get_binary cpu N/A N/A N/A ValueError N/A e N/A N/A N/A N/A msg N/A e message N/A msg  Attempting to use generic binary instead. N/A N/A N/A N/A self logger debug msg N/A host_bin_file N/A N/A bench get_binary generic N/A cpu generic N/A N/A N/A ValueError N/A e N/A N/A N/A ConfigError N/A e message N/A binname N/A N/A N/A os path basename host_bin_file N/A binary N/A N/A N/A self device install host_bin_file with_name N/A N/A . join N/A binname cpu N/A commandspec N/A CommandSpec N/A N/A commandspec command N/A N/A N/A bench command_template substitute N/A binary binary N/A N/A commandspec datadir datadir N/A N/A commandspec cpumask N/A get_cpu_mask N/A cpumap N/A cpu N/A N/A N/A cmdspecs append commandspec N/A cmdspecs N/A _build_command N/A N/A self name commandspecs N/A N/A N/A N/A N/A self mode speed N/A N/A N/A N/A len commandspecs 1 N/A N/A N/A AssertionError Must be exactly one command spec specifed in speed mode. N/A spec N/A commandspecs N/A 0 N/A launch_command N/A N/A N/A self launch_template format command N/A spec command cpumask N/A spec cpumask N/A N/A N/A N/A self commands append N/A name N/A N/A N/A self speed_run_template format datadir N/A spec datadir launch_command launch_command N/A N/A N/A N/A self mode rate N/A N/A loops N/A N/A spec commandspecs N/A N/A launch_command N/A N/A N/A self launch_template format command N/A spec command cpumask N/A spec cpumask N/A N/A N/A loops append N/A N/A N/A self loop_template format launch_command launch_command threads N/A spec threads N/A N/A N/A N/A self commands append N/A name N/A N/A N/A self rate_run_template format datadir N/A spec datadir loop N/A N/A ;  join loops N/A N/A N/A ValueError N/A N/A Unexpected SPEC2000 mode: {} format N/A self mode N/A _get_fastest_cpu N/A N/A self N/A N/A N/A cpu_types N/A set N/A N/A self device core_names N/A N/A N/A len cpu_types 1 N/A N/A N/A N/A cpu_types pop N/A fastest_cpu None N/A fastest_freq 0 N/A cpu_type cpu_types N/A N/A N/A N/A idx N/A N/A N/A self device get_core_online_cpu cpu_type N/A freq N/A N/A N/A self device get_cpu_max_frequency idx N/A N/A freq fastest_freq N/A N/A fastest_freq freq N/A fastest_cpu cpu_type N/A N/A N/A ValueError N/A N/A N/A N/A fastest_cpu N/A N/A N/A WorkloadError No active CPUs found on device. Something is very wrong... N/A fastest_cpu N/A N/A SpecBenchmark N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self name None N/A N/A self path None N/A N/A self category None N/A N/A self command_template None N/A N/A self cpus N/A N/A N/A self datafiles N/A N/A get_binary N/A N/A self cpu N/A N/A N/A N/A cpu N/A self cpus N/A N/A N/A ValueError N/A N/A CPU {} is not supported by {}. format cpu N/A self name N/A binpath N/A N/A N/A os path join N/A self path cpus cpu N/A N/A N/A N/A self name split . N/A 0 N/A N/A N/A N/A N/A os path isfile binpath N/A N/A N/A ValueError N/A N/A CPU {} is not supported by {}. format cpu N/A self name N/A binpath N/A N/A CommandSpec N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self cpumask None N/A N/A self datadir None N/A N/A self command None N/A N/A self threads None N/A N/A