Commit graph

390 commits

Author SHA1 Message Date
Christophe Bedard
24f5cecb4d Extract base DataModelUtil class 2019-08-07 14:25:38 +02:00
Christophe Bedard
41a7a95fd4 Cleanup and format 2019-08-06 15:18:34 +02:00
Christophe Bedard
8080bee2a3 Use ros_performance/nopub for example profile launchfile 2019-08-06 14:39:19 +02:00
Christophe Bedard
6724a41ab8 Add basic notebook for profiling analysis 2019-08-06 14:38:34 +02:00
Christophe Bedard
785cb5af72 Update callback duration notebook 2019-08-06 14:00:30 +02:00
Christophe Bedard
0ae3a260b4 Do rosdep install in before_script 2019-08-06 10:24:00 +02:00
Christophe Bedard
586744a5a3 Add pandas to package.xml 2019-08-06 10:21:42 +02:00
Christophe Bedard
fdeb4a5d48 Add test for profiling handler 2019-08-06 09:57:12 +02:00
Christophe Bedard
4cb73fb9b6 Remove unused import 2019-08-06 09:57:01 +02:00
Christophe Bedard
96ac41a716 Silently fallback on function address if resolution is not possible 2019-08-05 16:32:37 +02:00
Christophe Bedard
10cc2e9f5d Extract actual function duration using sched_switch events for profiling 2019-08-05 15:21:31 +02:00
Christophe Bedard
bbc122a0f2 Refactor and cleanup Processor 2019-08-05 13:40:48 +02:00
Christophe Bedard
3f468878af Update get_trace_ctf_events() name 2019-08-05 13:38:10 +02:00
Christophe Bedard
88cc346fec Add launch files data_file in setup.py 2019-08-05 09:54:56 +02:00
Christophe Bedard
e8abadf399 Add TODO for DataModel ownership 2019-08-05 08:58:56 +02:00
Christophe Bedard
5ea1b4d1ef Add option to example profiling launch file 2019-08-05 08:58:41 +02:00
Christophe Bedard
74a8c33aef Remove unused code 2019-08-05 08:58:24 +02:00
Christophe Bedard
2f0cc7ca00 Fix lint errors 2019-08-04 16:17:19 +02:00
Christophe Bedard
1e05964057 Add example profiling launch file 2019-08-04 16:16:14 +02:00
Christophe Bedard
24683c8954 Add test for handler signature 2019-08-04 16:11:14 +02:00
Christophe Bedard
831ae22872 Add basic Processor/EventHandler test 2019-08-04 15:59:22 +02:00
Christophe Bedard
a52b04fe3f Fix copyright 2019-08-04 15:32:03 +02:00
Christophe Bedard
e152057f92 Fix lints errors 2019-08-04 15:31:06 +02:00
Christophe Bedard
422a420637 Use *list instead of list for initial_dependants 2019-08-04 10:39:09 +02:00
Christophe Bedard
9e717a5f5d Pass kwargs to new instances when solving dependencies 2019-08-04 10:31:50 +02:00
Christophe Bedard
07079cbe73 Add simple tests for DependencySolver 2019-08-04 10:05:14 +02:00
Christophe Bedard
02f95d2420 Fix DepedencySolver name 2019-08-03 18:01:36 +02:00
Christophe Bedard
94cc25c791 Make DependencySolver not static only 2019-08-03 16:26:08 +02:00
Christophe Bedard
97a94947fe Extract Dependant class from EventHandler 2019-08-03 16:19:03 +02:00
Christophe Bedard
48ef0e841c Add note for solver 2019-08-03 15:55:33 +02:00
Christophe Bedard
9fae3db420 Use existing instance of a type if there is one 2019-08-03 15:54:52 +02:00
Christophe Bedard
a7951796d4 Update tracetools_read imports 2019-08-03 14:16:10 +02:00
Christophe Bedard
45bc931937 Add FIXME in DependencySolver 2019-08-02 15:32:33 +02:00
Christophe Bedard
804d251d45 Add basic dependency solver 2019-08-02 15:30:55 +02:00
Christophe Bedard
d18c8c8111 Add base ProfileDataModelUtil 2019-08-02 15:30:19 +02:00
Christophe Bedard
1fa5b50f97 Make dependencies() a @staticmethod instead of a @property 2019-08-02 15:29:55 +02:00
Christophe Bedard
5341a066b6 Rename handlers registration method 2019-08-02 14:30:40 +02:00
Christophe Bedard
98c0af53dc Fix pylint false positive 2019-08-02 14:30:22 +02:00
Christophe Bedard
5bd04b3a49 Add processor registration 2019-08-02 14:26:49 +02:00
Christophe Bedard
f9f9c08f2e Use **kwargs with EventHandlers and Processor 2019-08-02 14:24:41 +02:00
Christophe Bedard
5f1d7cf90f Update doc and fix lint errors 2019-08-02 13:59:29 +02:00
Christophe Bedard
2002190ade Extract non-ROS analyses to an 'analyze' entrypoint 2019-08-02 13:04:24 +02:00
Christophe Bedard
7ffb3f12bf Rename EventHandler dependency getter 2019-08-02 11:42:47 +02:00
Christophe Bedard
4a07bd0bc4 Simplify data member name 2019-08-02 10:38:43 +02:00
Christophe Bedard
bb0b4049f7 Include parent function name in profiling data 2019-08-02 10:36:49 +02:00
Christophe Bedard
e1446f36aa Rename *Processor classes to *Handler 2019-08-02 10:35:39 +02:00
Christophe Bedard
b1d2b16b6d Extract handling logic from EventHandler and introduce dependencies 2019-08-02 10:31:11 +02:00
Christophe Bedard
54c581f54d Define DataModel constructor to avoid conflicting D204 and D211 2019-07-31 14:06:40 +02:00
Christophe Bedard
267e02480f Add typing info to EventMetadata 2019-07-31 14:00:47 +02:00
Christophe Bedard
80bad7bf8d Fix lint issues 2019-07-31 14:00:25 +02:00