aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-07Merge pull request #42 from JaviMerino/get_listifyKapileshwar Singh
bart: grow your own listify
2015-12-07bart: grow your own listifyJavi Merino
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.
2015-12-04Merge pull request #40 from sinkap/signals_v2Javi Merino
Signals
2015-12-04Merge pull request #41 from sinkap/mathjax_url_fixJavi Merino
docs: Update URL path for MathJax
2015-12-04docs: Update URL path for MathJaxKapileshwar Singh
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>
2015-12-04tests: Add tests for conditional_comparison special casesKapileshwar Singh
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
2015-12-04common: Add specialized signal comparison functionsKapileshwar Singh
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>
2015-12-04tests: Add tests for common.signal.SignalCompareKapileshwar Singh
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
2015-12-04common: Add SignalCompareKapileshwar Singh
Facilitate the comparison of a pair of signals and quantify this comparison Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
2015-12-04common: Use step behaviours when calculating interval sumsKapileshwar Singh
There are two step behaviours we need to handle for the interval_sum * post * pre Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
2015-12-02common: Return float values from Util functionsKapileshwar Singh
This prevents truncation when the results are used in a ratio calculation Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
2015-12-02common: Missing Return statementKapileshwar Singh
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
2015-12-02common: Use iloc for indexing seriesKapileshwar Singh
This is not only faster but using the index can possibly result in erroneous results Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
2015-12-02Merge pull request #38 from JaviMerino/sched_assert_testsKapileshwar Singh
tests: import test_sched_assert from trappy
2015-12-02Merge pull request #35 from JaviMerino/gitignore_setuptoolsKapileshwar Singh
gitignore: ignore files generated by setuptools
2015-12-02tests: import test_sched_assert from trappyJavi Merino
Now that bart has a testsuite, this test can be moved from trappy here.
2015-12-02Merge pull request #36 from sinkap/bart_testingJavi Merino
Bart testing
2015-12-02tests: Add base class and trace files for testingKapileshwar Singh
Using the trace and utils_tests from TRAPpy Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
2015-12-02tests: Add missing license headerKapileshwar Singh
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
2015-12-01gitignore: ignore files generated by setuptoolsJavi Merino
"python setup.py sdist" and friends generate all these folders. Ignore them.
2015-12-01setup: release bart 1.3.0Javi Merino
2015-12-01Merge pull request #34 from sinkap/util_functionsJavi Merino
Util functions
2015-12-01tests: Add test case for area_under_curveKapileshwar Singh
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
2015-12-01common: Add function to calculate area under curveKapileshwar Singh
Add a function to calculate area under a time series curve Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
2015-11-29tests: Add test case for interval_sumKapileshwar Singh
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
2015-11-29common: Add Utils Function for summation of time for contiguous valuesKapileshwar Singh
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>
2015-11-20Merge pull request #32 from sinkap/grammar_changesJavi Merino
common: Pass kwargs to Parser constructor for grammar
2015-11-19common: Pass kwargs to Parser constructor for grammarKapileshwar Singh
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>
2015-11-19bart 1.2.0Javi Merino
2015-11-19Merge branch 'master' of github.com:ARM-software/bartJavi Merino
2015-11-19Merge remote-tracking branch 'JaviMerino/fix_depends'Javi Merino
2015-11-18Merge pull request #30 from JaviMerino/fix_sched_multi_assert_docKapileshwar Singh
sched: fix documentation
2015-11-11sched: fix documentationJavi Merino
c9211760aa45 ("sched: SchedMultiAssert: Add missing pids argument") called the pids argument "pids". Fix the documentation accordingly.
2015-11-11Merge pull request #27 from sinkap/issue_23_v2Javi Merino
sched: SchedMultiAssert: Add missing pids argument
2015-11-11sched: SchedMultiAssert: Add missing pids argumentKapileshwar Singh
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>
2015-11-10Merge pull request #29 from JaviMerino/fix_nbformat_docKapileshwar Singh
Thanks! :+1:
2015-11-10setup: Depend on trappy >= 3.0Javi Merino
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").
2015-11-10doc: convert SchedDeadline.ipynb to nbformat v3Javi Merino
We aim to maintain compatibility with Ubuntu 14.04 LTS which ships an ipython that can only open notebooks with format 3.
2015-11-10Merge pull request #28 from sinkap/issue_26Javi Merino
sched: Use Median for calculation of the period of a task
2015-11-05sched: Use Median for calculation of the period of a taskKapileshwar Singh
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>
2015-11-04bart 1.1.0Javi Merino
2015-11-04Merge pull request #20 from JaviMerino/depend_trappy_2.0Javi Merino
setup: Depend on trappy >= 2.0
2015-11-04Merge pull request #22 from sinkap/issue_21Javi Merino
sched: SchedAssert: Fix division by zero in getPeriod
2015-11-02sched: SchedAssert: Fix division by zero in getPeriodKapileshwar Singh
Fixes issue #21 Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
2015-10-22setup: Depend on trappy >= 2.0Javi Merino
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.
2015-10-22Merge pull request #19 from sinkap/event_plot_apiJavi Merino
sched: Update usage of EventPlot API
2015-10-22sched: Update usage of EventPlot APIKapileshwar Singh
The EventPlot API has changed and accepts keyword args for num_lanes and lane_prefix. Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
2015-10-05Merge pull request #16 from JaviMerino/fix_pypi_nameKapileshwar Singh
:+1:
2015-10-05Merge pull request #17 from JaviMerino/configure_upload_docsKapileshwar Singh
setup: configure upload_docs
2015-10-05setup: configure upload_docsJavi Merino
Tell setuptools where we build the documentation so that "python setup.py upload_docs" works.