aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorKapileshwar Singh <kapileshwar.singh@arm.com>2015-08-14 22:11:01 +0100
committerKapileshwar Singh <kapileshwar.singh@arm.com>2015-08-14 22:24:47 +0100
commit90128e97153e9f9d1dfddd1200ffa270313ee69d (patch)
tree22bf4bc701a482c7dc94d724b2e4e1f5dec246c3 /README.md
parentb581b70ed9f5e7bc2d49edcd8d9e8298f5ca28c8 (diff)
downloadbart-90128e97153e9f9d1dfddd1200ffa270313ee69d.tar.gz
Add README.md
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md77
1 files changed, 77 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..67da41c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,77 @@
+# Introduction
+
+The Behavioural Analysis and Regression Toolkit is based on [TRAPpy](https://github.com/ARM-software/trappy). The primary goal is to assert behaviours using the FTrace output from the kernel
+
+## Target Audience
+The framework is designed to cater to a wide range of audience. Aiding developers as well as automating
+the testing of "difficult to test" behaviours.
+
+### Kernel Developers
+
+Making sure that the code that you are writing is doing the right thing.
+
+### Performance Engineers
+
+Plotting/Asserting performance behaviours between different revisions of the kernel
+
+### Quality Assurance/Release Engineers
+Verifying behaviours when different components/patches are integrated
+
+# Installation
+
+Clone the [BART]( https://github.com/ARM-software/bart) and [TRAPpy]( https://github.com/ARM-software/trappy) repos
+
+ git clone git@github.com:ARM-software/bart.git
+ git clone git@github.com:ARM-software/trappy.git
+
+Add the directories to your PYTHONPATH
+
+ export PYTHONPATH=$BASE_DIR/bart:$BASE_DIR/trappy:$PYTHONPATH
+
+Install dependencies
+
+ apt-get install ipython-notebook python-pandas
+
+[IPython](http://ipython.org/notebook.html) notebook is a web based interactive python programming interface.
+It is required if you plan to use interactive plotting in BART.
+
+# Trace Analysis Language
+
+BART also provides a generic Trace Analysis Language, which allows the user to construct complex relation statements on trace data and assert their expected behaviours. The usage of the Analyzer module can be seen for the thermal behaviours [here](https://github.com/sinkap/bart/blob/master/notebooks/thermal/Thermal.ipynb)
+
+# Scheduler Assertions
+
+Enables assertion and the calculation of the following parameters:
+
+### Runtime
+
+The total time that the task spent on a CPU executing.
+
+### Switch
+
+Assert that a task switched between CPUs/Clusters in a given window of time
+
+### Duty Cycle
+
+The ratio of the execution time to the total time.
+
+### Period
+
+The average difference between two switch-in or two switch-out events of a task
+
+### First CPU
+
+The first CPU that a task ran on.
+
+### Residency
+
+Calculate and assert the total residency of a task on a CPU or cluster
+
+### Examples
+
+The Scheduler assertions also use TRAPpy's EventPlot to provide a kernelshark like timeline
+for the tasks under consideration. (in IPython notebooks).
+
+A notebook explaining the usage of the framework for asserting the deadline scheduler behaviours can be seen [here](https://rawgit.com/sinkap/0abbcc4918eb228b8887/raw/a1b4d6e0079f4ea0368d595d335bc340616501ff/SchedDeadline.html)
+
+