History log of /external/trappy/trappy/plotter/EventPlot.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e81fdcb135d0325e3bc22fae0583555d20aae280 04-Jan-2017 Brendan Jackman <brendan.jackman@arm.com> Update ARM Ltd. copyright to 2017
/external/trappy/trappy/plotter/EventPlot.py
393707790abefb950811cf048dc6348ef56b07eb 20-Aug-2016 Kapileshwar Singh <kpsingh@google.com> EventPlot: Add ability to plot simultaneous events

The timeline plot was designed to have one "key" running in one "lane".
Here you have the "queueing" key running in multiple lanes and this
confuses the filtering logic. I imagined the each event to be only
present in one lane at a time, much like a single PID can be only on a
single CPU.

This fix allows the EventPlot to plot concurrent events. Events which
occur simultaneously in multiple lanes
/external/trappy/trappy/plotter/EventPlot.py
f9c81a71180f1092bdcc71b5a6ed091f9b7fd950 18-Jul-2016 Michele Di Giorgio <michele.digiorgio@arm.com> plotter: EventPlot: add user-defined color map

Give the possibility to specify a mapping between events and custom colours in
the plot.

User can specify colours as both colour name or using its HEX representation.

Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com>
/external/trappy/trappy/plotter/EventPlot.py
5d12375ff269e3c1e13003705858f70e9a4961f4 20-Jul-2016 Michele Di Giorgio <michele.digiorgio@arm.com> plotter: EventPlot: avoid changes on input data by operating on a copy

_get_lanes() does some changes to the input data that are necessary for the
Javascript code to work properly. However, these changes permanently affect the
input data. In particular, "lane" names are converted to integers.

To avoid this, let's create an internal copy of the input data and always
operate on that.

Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com>
/external/trappy/trappy/plotter/EventPlot.py
a5e5e4c7b365614d55a7252fdcb068b4ce213439 16-Jun-2016 Javi Merino <javi.merino@arm.com> EventPlot: Don't use a variable for the data

When we generate the data for EventPlot, we store it in a variable
called "data". If there are two plots in a notebook and the notebook is
copied (or the page reloaded), the second "data" variable clobbers the
first one, so when requirejs gets round to execute EventPlot.generate(),
all EventPlots use the same data.

We don't really need to store the data in a variable, we can just pass
it straight to EventPlot.generate()
/external/trappy/trappy/plotter/EventPlot.py
e562e76314f0092eb2732a7e6b43eaa7e563c4db 24-May-2016 Javi Merino <javi.merino@arm.com> EventPlot: increase requirejs timetout

requirejs can timeout when loading EventPlot.js in notebooks with many
EventPlots and ILinePlots running in slow machines using Firefox. As
a result, all EventPlots are empty. Double the requirejs timeout (the
default is 7s) to give Firefox enough time to execute all the javascript
and load EventPlot.js
/external/trappy/trappy/plotter/EventPlot.py
39e9830783904ca716793d3ba8e9b733a1af89ba 26-Apr-2016 Kapileshwar Singh <kpsingh@google.com> plotter: EventPlot: Add Macros for Publishing

The require JS is only needed load the libraries when the required headers
cannot be added. In a static HTML file this can be done. The comments instruct
the preprocessors to remove the require JS code (which fails in a static HTML)
notebook.

Signed-off-by: Kapileshwar Singh <kpsingh@google.com>
/external/trappy/trappy/plotter/EventPlot.py
0cd75b7c929258a242bbd8d1a25cf88dfd538acd 13-Apr-2016 Kapileshwar Singh <kpsingh@google.com> plotter: EventPlot: Add support for embedded data

Signed-off-by: Kapileshwar Singh <kpsingh@google.com>
/external/trappy/trappy/plotter/EventPlot.py
7c3553996468e3bc0a5b1e15c2b7fbe14702f59d 25-Apr-2016 Javi Merino <javi.merino@arm.com> plotter: EventPlot: drop newline when reading css

When EventPlot embeds the css into the notebook, it adds an extra "\n"
for every line. css_fh.readlines() returns all the lines as an array
but the lines already contain a "\n" at the end of the line. The
"\n".join() afterwards adds another "\n", so you end up with an extra
newline for every line. Drop the "\n" when reading the css so that it
is embedded without empty lines in between every line in the notebook.
/external/trappy/trappy/plotter/EventPlot.py
575a906f939cb7a6ccf8dcd5f62376288c2dbcd4 25-Apr-2016 Javi Merino <javi.merino@arm.com> plotter: open and close the css_fh using a with context

It's more "pythonic" to use with than having to manually close the file.
/external/trappy/trappy/plotter/EventPlot.py
4ec4aee55dbd4045cfb6a2fe099615a569ce7ff7 05-Jan-2016 Javi Merino <javi.merino@arm.com> trappy: update copyright to 2016
/external/trappy/trappy/plotter/EventPlot.py
34785a8410ed173020ad579bf3544928c45cc723 05-Dec-2015 Kapileshwar Singh <kapileshwar.singh@arm.com> plotter: EventPlot: Fix average average calculation

The current implementation crashes with a ZeroDivisionError
when a key has an empty event list.

Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
/external/trappy/trappy/plotter/EventPlot.py
ac89ee94a21c97808e7302ef44af43fccd21c25f 06-Nov-2015 Kapileshwar Singh <kapileshwarsingh@gmail.com> Merge pull request #55 from JaviMerino/order_paramaters_eventplot_doc

Makes sense :trophy:
a8b8a506ca8c159b3d9072f57b46070114c8adfb 04-Nov-2015 Kapileshwar Singh <kapileshwar.singh@arm.com> plotter: Change URL for d3 installation

Fixes issue #56

Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
/external/trappy/trappy/plotter/EventPlot.py
a18864fc129fc32fe0dce9f0d1de2e3ef40eba1c 04-Nov-2015 Javi Merino <javi.merino@arm.com> plotter: EventPlot: fix the order of the documentation of the EventPlot parameters

f4eefc02239a ("plotter: EventPlot: Allow specification of lane names")
reordered the parameters for EventPlot. Fix the order we have in the
documentation to match the order in the function.

Document summary while we are at it.
/external/trappy/trappy/plotter/EventPlot.py
f4eefc02239a61ae1f96cef1c5afbda148c65240 09-Oct-2015 Kapileshwar Singh <kapileshwar.singh@arm.com> plotter: EventPlot: Allow specification of lane names

This change allows the lanes to be specified as strings
as well as numbers.

Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
/external/trappy/trappy/plotter/EventPlot.py
d85644cd605975c7a894f23e9794a61cd2636677 22-Sep-2015 Kapileshwar Singh <kapileshwar.singh@arm.com> plotter: EventPlot: Lazy IPython resource installation

Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
/external/trappy/trappy/plotter/EventPlot.py
fd5fe5f7938465e38af92f33287e7ad6549951ea 22-Sep-2015 Kapileshwar Singh <kapileshwar.singh@arm.com> plotter: Move IPython imports after check_ipython

Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
/external/trappy/trappy/plotter/EventPlot.py
a5591c6300340793f7e7cd98634be5a8757787c3 07-Sep-2015 Kapileshwar Singh <kapileshwar.singh@arm.com> doc: EventPlot: Use sphinx friendly docstrings

Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
/external/trappy/trappy/plotter/EventPlot.py
53de9b352977814c37608788cc1df83fc6485371 25-Aug-2015 Kapileshwar Singh <kapileshwar.singh@arm.com> plotter: IPython v4 Compatibility

IPython 4.0 changes the location of the web server and the way
IPython 4.0 profiles are handled. This changes allows plotter
to be compatible with both IPython 4.0+ and the earlier versions

Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
/external/trappy/trappy/plotter/EventPlot.py
435457c8af9d69383ba45e0bd7da022d967a8dea 10-Aug-2015 Javi Merino <javi.merino@arm.com> trappy: rename to trappy

Change-Id: I7e0e34c9f5565e34629683bb29ab25cf5e737088
/external/trappy/trappy/plotter/EventPlot.py