Module Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Call NameLoad Str keyword NameLoad keyword Str FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str If CompareNotIn Str Call AttributeLoad AttributeLoad NameLoad attr attr Num body Raise Call NameLoad Str If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr ListLoad For NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If CompareNotIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareNotIn Str NameLoad body Raise Call NameLoad Str If CompareNotIn Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Call AttributeLoad Str attr Call AttributeLoad Str attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str If CompareNotIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str For NameStore SubscriptLoad NameLoad Index Str body If CompareNotIn NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad SubscriptLoad NameLoad Index Str If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword NameLoad If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A os collections OrderedDict wlauto Instrument Parameter wlauto.exceptions ConfigError InstrumentError wlauto.utils.misc merge_dicts wlauto.utils.types caseless_string FreqSweep N/A Instrument N/A N/A name freq_sweep N/A description 
    Sweeps workloads through all available frequencies on a device.

    When enabled this instrument will take all workloads specified in an agenda
    and run them at all available frequencies for all clusters.

    Recommendations:
        - Setting the runner to 'by_spec' increases the chance of successfully
          completing an agenda without encountering hotplug issues
        - If possible disable dynamic hotplug on the target device
        - This instrument does not automatically pin workloads to the cores
          being swept since it is not aware of what the workloads do.
          To achieve this use the workload's taskset parameter (if it has one).
     N/A parameters N/A N/A Parameter sweeps kind list description 
                  By default this instrument will sweep across all available
                  frequencies for all available clusters. If you wish to only
                  sweep across certain frequencies on particular clusters you
                  can do so by specifying this parameter.

                  Sweeps should be a lists of dictionaries that can contain:
                   - Cluster (mandatory): The name of the cluster this sweep
                     will be performed on. E.g `A7`
                   - Frequencies: A list of frequencies (in KHz) to use. If
                     this is not provided all frequencies available for this
                     cluster will be used. E.g: `[800000, 900000, 100000]`
                   - label: Workload specs will be named
                     `{spec id}_{label}_{frequency}`. If a label is not
                     provided it will be named `sweep{sweep No.}`
                  Example sweep specification: ::

                      freq_sweep:
                          sweeps:
                              - cluster: A53
                                label: littles
                                frequencies: [800000, 900000, 100000]
                              - cluster: A57
                                label: bigs
                   validate N/A N/A self N/A N/A N/A N/A N/A N/A self device core_names N/A N/A N/A ConfigError The Device does not appear to have core_names configured. N/A initialize N/A N/A self context N/A N/A N/A N/A N/A N/A self device is_rooted N/A N/A N/A InstrumentError The device must be rooted to sweep frequencies N/A N/A userspace N/A N/A N/A self device list_available_cluster_governors 0 N/A N/A N/A InstrumentError 'userspace' cpufreq governor must be enabled N/A N/A N/A self sweeps N/A N/A N/A self sweeps N/A N/A core N/A set N/A N/A self device core_names N/A N/A sweep_spec N/A N/A N/A sweep_spec N/A cluster core N/A N/A sweep_spec N/A label core N/A N/A N/A N/A self sweeps append sweep_spec N/A new_specs N/A N/A old_specs N/A N/A job N/A N/A context runner job_queue N/A N/A N/A N/A job spec old_specs N/A N/A N/A N/A old_specs append N/A job spec N/A N/A i sweep_spec N/A enumerate N/A self sweeps N/A N/A N/A cluster sweep_spec N/A N/A N/A ConfigError cluster must be define for all sweeps N/A N/A N/A caseless_string N/A sweep_spec N/A cluster N/A N/A self device core_names N/A N/A N/A ConfigError N/A N/A Only {} cores are present on this device, you specified {} format N/A N/A ,  join N/A set N/A N/A self device core_names N/A sweep_spec N/A cluster N/A N/A frequencies sweep_spec N/A N/A N/A N/A N/A self device enable_cpu N/A N/A N/A N/A self device core_names index N/A sweep_spec N/A cluster N/A N/A sweep_spec N/A frequencies N/A N/A N/A self device list_available_core_frequencies N/A sweep_spec N/A cluster N/A N/A N/A N/A N/A self device enable_cpu N/A N/A N/A N/A self device core_names index N/A sweep_spec N/A cluster N/A available_freqs N/A N/A N/A self device list_available_core_frequencies N/A sweep_spec N/A cluster N/A freq N/A sweep_spec N/A frequencies N/A N/A N/A freq available_freqs N/A N/A N/A ConfigError N/A N/A Frequency {} is not supported by {} cores format freq N/A sweep_spec N/A cluster N/A N/A label sweep_spec N/A N/A N/A sweep_spec N/A label N/A N/A sweep{} format N/A i 1 N/A N/A N/A new_specs extend N/A N/A self get_sweep_workload_specs old_specs sweep_spec context N/A N/A N/A context config workload_specs new_specs N/A config_file N/A N/A N/A os path join N/A context host_working_directory run_config.json N/A N/A open config_file wb wfh N/A N/A N/A N/A N/A context config serialize wfh N/A N/A N/A N/A context runner init_queue new_specs N/A get_sweep_workload_specs N/A N/A self old_specs sweep_spec context N/A N/A N/A new_specs N/A N/A old_spec old_specs N/A N/A freq N/A sweep_spec N/A frequencies N/A N/A spec N/A N/A old_spec copy N/A N/A runtime_params sweep_spec N/A N/A N/A spec runtime_parameters N/A merge_dicts N/A spec runtime_parameters N/A sweep_spec N/A runtime_params dict_type OrderedDict N/A N/A workload_params sweep_spec N/A N/A N/A spec workload_parameters N/A merge_dicts N/A spec workload_parameters N/A sweep_spec N/A workload_params dict_type OrderedDict N/A N/A N/A spec runtime_parameters N/A N/A N/A {}_governor format N/A sweep_spec N/A cluster userspace N/A N/A N/A spec runtime_parameters N/A N/A N/A {}_frequency format N/A sweep_spec N/A cluster freq N/A N/A spec id N/A N/A {}_{}_{} format N/A spec id N/A sweep_spec N/A label freq N/A N/A N/A spec classifiers N/A core N/A sweep_spec N/A cluster N/A N/A N/A spec classifiers N/A freq freq N/A N/A N/A spec load N/A self device N/A N/A context config ext_loader N/A N/A N/A N/A spec workload init_resources context N/A N/A N/A N/A spec workload validate N/A N/A N/A new_specs append spec N/A new_specs N/A N/A