$ cd PATH/TO/athrill/bin/windows
$ ./athrillUsage:athrill -m <memory config file> [OPTION]... <load_file>-i : execute on the interaction mode. if -i is not set, execute on the background mode.
-r : execute on the remote mode. this option is valid on the interaction mode.
-t<timeout> : set program end time using <timeout> clocks. this option is valid on the background mode.
-m<memory config file> : set athrill memory configuration. rom, ram region is configured on your system.
-d<device config file> : set device parameter.
$ ./athrill2Usage:athrill -m <memory config file> [OPTION]... <load_file>-i : execute on the interaction mode. if -i is not set, execute on the background mode.
-r : execute on the remote mode. this option is valid on the interaction mode.
-t<timeout> : set program end time using <timeout> clocks. this option is valid on the background mode.
-m<memory config file> : set athrill memory configuration. rom, ram region is configured on your system.
-d<device config file> : set device parameter.
$ ./athrill_remoteUsage: athrill_remote <athrill debug command>
git clone https://github.com/mikoto2000/embulk-output-chart.git ..\embulk-output-chart
cd ..\embulk-output-chart
.\gradlew.bat package
cd ..\vim-history
設定ファイル記述
exec:max_threads: 1min_output_tasks: 1out:type: chartchart_type: LINEx_axis_name: Datex_axis_type: NUMBERy_axis_name: Commity_axis_type: NUMBERserieses:-{name:"commit count", x: d_date,y: count}in:type: jdbcdriver_path:'./sqlite-jdbc-3.25.2.jar'driver_class:'org.sqlite.JDBC'url:'jdbc:sqlite:vim_history.sqlite3'query: select cast(strftime('%s', date(date), 'utc') as long) as d_date, count(date) as count from vim_history group by d_date;column_options:d_date:value_type: longcount:value_type: long
チャート表示実行
..\..\embulk\embulk.bat run -L ..\embulk-output-chart .\sqlite2chart.yml
org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state location is initialized.
Hello RCP World!
List of relations
Schema | Name | Type | Owner
--------+----------------+----------+----------
public | message | table | postgres
public | message_id_seq | sequence | postgres
(2 rows)
Table "public.message"
Column | Type | Collation | Nullable | Defaul
t
---------+------------------------+-----------+----------+-------------------------------------
id | integer | | not null | nextval('message_id_seq'::regclass)
message | character varying(255) | | not null |
Indexes:
"message_pkey" PRIMARY KEY, btree (id)
# テストビルドcd${PATH_TO_WORK}g++ ./test_example.cpp ./googletest/libgtest.a ./googletest/libgtest_main.a -lpthread -o ./test_example
# テスト実行./test_exampleRunning main() from gtest_main.cc
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from Practice
[ RUN ] Practice.First
[ OK ]Practice.First (0 ms)
[----------] 1 test from Practice (0 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (0 ms total)
[ PASSED ] 1 test.
# テストビルドg++ ./test_example.cpp -lgtest -lgtest_main -o test_example.exe
# テスト実行./test_example.exeRunning main() from gtest_main.cc
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from Practice
[ RUN ] Practice.First
[ OK ]Practice.First (0 ms)
[----------] 1 test from Practice (0 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (0 ms total)
[ PASSED ] 1 test.