OSDN Git Service

This test is used to check if the kernel scheduler
authorHoward Chen <howardsoc@google.com>
Sat, 25 Mar 2017 09:12:59 +0000 (17:12 +0800)
committerHoward Chen <howardsoc@google.com>
Wed, 5 Apr 2017 09:55:58 +0000 (17:55 +0800)
commitb0ad31f7f1075c36f88d6de02ce3c9bb8e6c891b
treef387b23014a5f71f1c8f74024e66dc1ede41ad81
parent4cc7755c7c794b12400a90aa55ccd4c04bc71419
This test is used to check if the kernel scheduler

1. supports priority inheritance.
2. utilize the sync flag.

It also make statistic on average, best and worst latency
as well as number of deadline miss with a configurable
deadline specified in us.

The output is in json format hopefully to make it easy
to integrated with present test framework.

usage:

./schd-dbg                   # test and output json
./schd-dbg -i 1              # number of iterations
./schd-dbg -pair 4           # number of process pairs
./schd-dbg -deadline_us 2500 # deadline in us
./schd-dbg -v                # debug

Test: pixel
Change-Id: Idccf0d402dcd7b81c639020364b5ee32075e18cb
libs/binder/tests/Android.bp
libs/binder/tests/schd-dbg.cpp [new file with mode: 0644]