Skip to content

Latest commit

 

History

History
87 lines (64 loc) · 3.2 KB

demo-application.md

File metadata and controls

87 lines (64 loc) · 3.2 KB

rz_benchmark_demo

Overview

'rz_benchmark_demo' is a demo application for RZ Linux Benchmark Demo.
This demo program is a wayland client running on Weston. It works as a program launcher. User can start existing tools via GUI of the demo program.

License

'rz_benchmark_demo' is licensed under the MIT License. See LICENSE.txt.

This program uses the following open-source libraries:

And this demo program uses a font in the "FiraCode" family.

Target Devices and Supported Environment

Build Instructions

To build this demo program, use a PC with Ubuntu 20.04 LTS, and prepare the toolchain SDK. For information about the toolchain, see "How to build".

Build

$ source /opt/poky/<version number of toolchain>/environment-setup-aarch64-poky-linux
$ make

Note: The LVGL libraries and tomlc99 libraries shall be installed in the toolchain in advance.

Install

$ prefix=<a path to rootfs>/usr make install

How to Use the Benchmark Demo

Usage: rz_benchmark_demo [OPTION]

Options are:
        -c, --config    specify configuration file
                        unless specified, /usr/share/benchmark_demo/rz_bench_config.toml is used
        -v, --version   output version information and exit
        -h, --help      display this help message and exit

Configuration

'rz_benchmark_demo' has a configuration file written in TOML format.
All benchmark tools launched on this program are defined in the configuration file. It means that you can add some tools to the RZ Linux Benchmark Demo by editing the configuration file without rebuilding the demo program. The configuration file "rz_bench_config.toml" in "/usr/share/benchmark_demo" is used by default.

The information about how to change the configuration file, see rz_bench_config.toml. The specification of the configuration file is explained in the comments of the default configuration file.

Back