Age | Commit message (Collapse) | Author |
|
bart: grow your own listify
|
|
bart imports listify from trappy.plotter.utils. trappy.plotter requires
matplotlib, which makes bart require matplotlib. For listify. Get your
own version of listify to avoid the cross-import.
|
|
Signals
|
|
docs: Update URL path for MathJax
|
|
This is to avoid the error:
<parent_URL> was loaded over HTTPS, but requested an insecure script:
'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'.
This request has been blocked; the content must be served over HTTPS.
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
Two functions added:
* Compare overshooting of A w.r.t B
* Compare undershooting of A w.r.t B
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
Facilitate the comparison of a pair of signals
and quantify this comparison
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
There are two step behaviours we need to handle for the interval_sum
* post
* pre
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
This prevents truncation when the results are used in a ratio
calculation
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
This is not only faster but using the index can possibly result in
erroneous results
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
tests: import test_sched_assert from trappy
|
|
gitignore: ignore files generated by setuptools
|
|
Now that bart has a testsuite, this test can be moved from trappy here.
|
|
Bart testing
|
|
Using the trace and utils_tests from TRAPpy
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
"python setup.py sdist" and friends generate all these folders. Ignore
them.
|
|
|
|
Util functions
|
|
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
Add a function to calculate area under a time series curve
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
A utility function that can be used to sum all the intervals
in a time series where the value was equal to an expected
value contiguously.
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
common: Pass kwargs to Parser constructor for grammar
|
|
This allows the user to change various options for the
grammar, e.g. method for reindexing, handling of NaNs
etc
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
|
|
|
|
|
|
sched: fix documentation
|
|
c9211760aa45 ("sched: SchedMultiAssert: Add missing pids argument")
called the pids argument "pids". Fix the documentation accordingly.
|
|
sched: SchedMultiAssert: Add missing pids argument
|
|
The class should accept either pids or execnames as specified in
the API reference. This fixes issue #23.
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
Thanks! :+1:
|
|
trappy has changed the API of stats.SchedConf in 0fce01a7dad8 ("stats:
SchedConf: Fix for period calculation"), the return value of period() is
changed. This is fixed in bart in 0e83faeeee8a ("sched: Use Median for
calculation of the period of a task").
|
|
We aim to maintain compatibility with Ubuntu 14.04 LTS which ships an
ipython that can only open notebooks with format 3.
|
|
sched: Use Median for calculation of the period of a task
|
|
Here is what I do for calculating the period of the task:
Let's say a task started execution at the following times
T_1, T_2, ...T_n
Currently for align = "start" the period is
Average of:
(T_2 - T_1), (T_4 - T_3), ....(T_n - T_{n-1})
In this method we have an edge condition when a task does not run
for a particular time or when it migrates between CPUs causing the
average to end up significantly higher than the actual period of
the task. However, as periodicity is statistical in nature
and can vary during the lifetime of the task, we can have a
good understanding of the periodicity by getting the median period
of the deltas above.
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
|
|
setup: Depend on trappy >= 2.0
|
|
sched: SchedAssert: Fix division by zero in getPeriod
|
|
Fixes issue #21
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
trappy has changed the API for EventPlot in f4eefc02239a ("plotter:
EventPlot: Allow specification of lane names") which will be released
in trappy 2.0. This is fixed in 5b1275f59fec ("sched: Update usage of
EventPlot API") in bart. Make sure bart the next version of bart
depends on the appropriate version of trappy.
|
|
sched: Update usage of EventPlot API
|
|
The EventPlot API has changed and accepts keyword args
for num_lanes and lane_prefix.
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
|
|
:+1:
|
|
setup: configure upload_docs
|
|
Tell setuptools where we build the documentation so that
"python setup.py upload_docs" works.
|