Commit graph

46 commits

Author SHA1 Message Date
Maximilian Schmeller
dc3a8084b1 Allow for better TF2 insight and analysis [WIP], write more outputs to the specified out dir and not to the project dir, add E2E_EXACT_PATH setting to speed up execution for known paths 2022-12-25 20:47:56 +09:00
Maximilian Schmeller
e2cdfade31 Rename e2e_breakdown_inst_stack to e2e_breakdown_stack, plot stack plot of dds/idle/cpu instead of bar plot of all path elements 2022-12-25 20:45:15 +09:00
Maximilian Schmeller
9b7575de37 Removed NB outputs 2022-11-07 17:46:44 +09:00
Maximilian Schmeller
6db22c4d32 Improved documentation [WIP], cleaned up temporary functions 2022-11-07 17:46:09 +09:00
Maximilian Schmeller
a1369890bf Fixes in message tree calculations, plots for the paper, started work on BW plots for the paper 2022-10-28 22:37:48 +09:00
Maximilian Schmeller
65c21fb6ce Added CSV output back in, fixed bugs in refactoring 2022-10-14 00:15:33 +09:00
Maximilian Schmeller
b1dc01b101 De-duplicate dependency tree calculations and data structures, de-clutter notebook 2022-10-13 19:13:39 +09:00
Maximilian Schmeller
130c99e56f Refactorings, better console output.
* Removed spam-like warnings (mostly replaced by printing a single warning counter)
* Removed inst_runtime_interval() from latency_graph.py as it was out of that file's responsibilities. Moved into TrCallbackInstance directly
* Fixed coloring of latency graph (planning was misspelled)
2022-10-07 15:35:34 +09:00
Andreas Korb
e9a00d51c9 Improve performance 2022-09-30 20:55:49 +02:00
Maximilian Schmeller
2708759d39 Added E2E path filters 2022-09-20 15:42:24 +02:00
Maximilian Schmeller
a217359e8b Prevent callbacks to occur multiple times in one path (loop prevention) 2022-09-20 14:42:48 +02:00
Andreas Korb
6e2aa18785 Fix bugs 2022-09-20 12:44:04 +02:00
Maximilian Schmeller
3e5f275565 Merge branch 'main' of https://gitlab.lrz.de/schmeller/ma-autoware-trace-analysis 2022-09-19 16:54:08 +02:00
Maximilian Schmeller
acfdb08d12 Respect input topic filters again 2022-09-19 16:53:26 +02:00
Maximilian Schmeller
062fcbe25a Re-introduced TQDM for message tree loop 2022-09-19 15:39:17 +02:00
Maximilian Schmeller
98cd6fc3db Fixes for random crashes
* Removed papermill cell headers (prevented cell magics from working)
* Changed bisect to bisect_right because of Python's name resolution acting stupid
* Print exceptions when building message trees
2022-09-19 12:39:53 +02:00
Maximilian Schmeller
c8a88fc785 Env var parser now uses eval(); corrected papermill titles 2022-09-16 19:31:50 +02:00
Maximilian Schmeller
c711cf488d Globals copy to prevent size change while iterating 2022-09-16 19:14:33 +02:00
Maximilian Schmeller
55138d7c87 Papermill outputs, output all user settings 2022-09-16 19:11:35 +02:00
Maximilian Schmeller
4fb32188d4 Fix outputs 2022-09-16 16:44:24 +02:00
Maximilian Schmeller
7d54f07214 Fix outputs, fix AST crash 2022-09-16 16:38:23 +02:00
Maximilian Schmeller
68e9e6a9a5 Print topic publication counts 2022-09-16 13:36:42 +02:00
Maximilian Schmeller
9848c39b61 Kill me 2022-09-15 18:04:45 +02:00
Maximilian Schmeller
b456645621 Fixes for different setting combos 2022-09-15 16:17:24 +02:00
Maximilian Schmeller
7d3e957ed9 Clean accidental output in notebook, remove ProgressPrinter (obsolete) 2022-09-15 15:26:32 +02:00
Paola Canuto
8bc3a5f69e Fixes for Scenario Runner and other users in gerneral 2022-09-14 18:27:41 +02:00
Maximilian Schmeller
4268335e09 Fixed crash when BW_ENABLED=False, user-friendly README.md 2022-09-14 14:08:47 +02:00
Maximilian Schmeller
dfbabe7ae0 Make notebook script-executable
* Add settings to disable certain features
  * Add IPython magic to conditionally execute cells
* Add support for config through environment vars
* Installation instructions in README.md
2022-09-12 19:24:26 +02:00
Maximilian Schmeller
ebbfef7ecf better naming for start/end topic filters 2022-09-09 13:55:54 +02:00
Maximilian Schmeller
0c05267bb0 More E2E progress, print E2E paths by occurence count 2022-09-09 13:52:28 +02:00
Maximilian Schmeller
8eee45c79a E2E calculation per output message, plotting of E2E over time, E2E breakdown charts, E2E message flow charts 2022-08-29 22:17:52 +02:00
Maximilian Schmeller
241a7c3bf2 Hierarchical latency graph 2022-08-09 18:36:53 +02:00
Maximilian Schmeller
5885be5974 Node matching between tracing and clang works [WIP] 2022-07-20 16:12:43 +02:00
Maximilian Schmeller
dc689174c0 Refactored project structure; Caching util; process_clang_output.py provides Python API now 2022-07-20 13:35:06 +02:00
Maximilian Schmeller
2f82f6ee93 Change import paths to correct directory 2022-07-19 18:34:41 +02:00
Maximilian Schmeller
3df47f7922 Started work on intra-node deps 2022-06-28 10:06:42 +02:00
Maximilian Schmeller
3c495ebf18 Latency DFG (almost done) 2022-06-03 14:57:54 +02:00
Maximilian Schmeller
696491c401 Pandas Series for pub-use latencies to get timestamp for each latency 2022-05-31 19:01:24 +02:00
Maximilian Schmeller
ebd9d68a40 Progress printer 2022-05-31 16:49:47 +02:00
Maximilian Schmeller
813d571089 Pub-Use latency calculation 2022-05-31 16:19:22 +02:00
Maximilian Schmeller
3e369293a0 Fixed pickling, added hash functions to more classes, more work on E2E lat. calc. 2022-05-31 16:03:52 +02:00
Maximilian Schmeller
3d7cc6de56 Initial work on E2E latency calculation (again, sigh) 2022-05-31 15:02:55 +02:00
Maximilian Schmeller
58f3a3f10c Pickling of ROS objects 2022-05-30 16:51:06 +02:00
Maximilian Schmeller
062e641ee7 Detailed per-node plotting of pub/callback timings, datastructure fixes 2022-05-24 20:35:30 +02:00
Maximilian Schmeller
5c8086e796 Pub-Use analysis basics, data structures 2022-05-23 21:28:40 +02:00
Maximilian Schmeller
afc2272b88 Initial commit,basic trace analysis notebook 2022-05-23 13:03:38 +02:00