-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: add support for parsing benchmark using extra python script
User can specify parsescript in run_config section to specify an extra python script to parse benchmark in run log Function should like below(take parse_benchmark_runlog as example): def parse_benchmark(lines, lgf=""): return program_type, subtype, result json config like below: {$ "run_config": {$ "target" : "qemu",$ "parsescript": "parse.py",$ "hardware" : {$ "baudrate": 115200,$ "timeout": 60$ },$ "qemu": {$ "qemu32": "qemu-system-riscv32",$ "qemu64": "qemu-system-riscv64",$ "timeout": 60$ }$ } } Signed-off-by: Huaqi Fang <578567190@qq.com>
- Loading branch information
Showing
2 changed files
with
50 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters