Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
100 lines (99 sloc) 2.86 KB
{
"backup_data_uid": "27732f48eb946d2a",
"ck_to_env": {
"CK_WA_SCRIPTS_PATH": "script:39157fb314f399ae"
},
"clean_dirs": [
"wa_output"
],
"data_name": "WA workload: audio",
"deps": {
"wa": {
"env_key": "WA",
"force_target_as_host": "yes",
"local": "yes",
"name": "ARM Workload Automation",
"sort": 10,
"tags": "tool,wa"
}
},
"no_compile": "yes",
"no_target_file": "yes",
"params": {
"audio_file": {
"allowed_values": null,
"default": "/home/fursin/.workload_automation/dependencies/Canon_in_D_Piano.mp3",
"desc": "The (on-host) path to the audio file to be played. .. note:: If the default file is not present locally, it will be downloaded.",
"mandatory": null,
"type": "str"
},
"clear_file_cache": {
"allowed_values": null,
"default": true,
"desc": "Clear the the file cache on the target device prior to running the workload.",
"mandatory": null,
"type": "boolean"
},
"duration": {
"allowed_values": null,
"default": 30,
"desc": "The duration the music will play for in seconds.",
"mandatory": null,
"type": "integer"
},
"modules": {
"allowed_values": null,
"default": null,
"desc": "Lists the modules to be loaded by this extension. A module is a plug-in that further extends functionality of an extension.",
"mandatory": null,
"type": "list"
},
"perform_cleanup": {
"allowed_values": null,
"default": false,
"desc": "If ``True``, workload files on the device will be deleted after execution.",
"mandatory": null,
"type": "boolean"
}
},
"print_files_after_run": [
"tmp-output2.tmp",
"wa_output/status.txt",
"wa_output/audio_1_1/result.txt"
],
"process_in_tmp": "yes",
"program": "yes",
"required_device_access_type": [
"wa_android",
"wa_linux"
],
"run_cmds": {
"default": {
"ignore_return_code": "no",
"run_time": {
"fine_grain_timer_file": "tmp-ck-timer.json",
"post_process_cmds": [
"python $<<CK_WA_SCRIPTS_PATH>>$$#dir_sep#$postprocess_workload.py"
],
"post_process_via_ck": "yes",
"pre_process_via_ck": {
"data_uoa": "process-wa",
"module_uoa": "script",
"script_name": "preprocess_workload"
},
"run_cmd_main": "wa run $<<CK_WA_CMD>>$",
"run_cmd_out1": "tmp-output1.tmp",
"run_cmd_out2": "tmp-output2.tmp",
"run_output_files": []
}
}
},
"run_via_third_party": "yes",
"tags": [
"wa",
"workload-automation",
"audio"
],
"wa_alias": "audio",
"wa_desc": "Audio workload plays an MP3 file using the built-in music player. By default, it plays Canon_in_D_Pieano.mp3 for 30 seconds"
}