Commit graph

175 commits

Author SHA1 Message Date
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
Christophe Bedard
e60050ed17 Add basic profiling 2019-07-31 13:53:09 +02:00
Christophe Bedard
47aaf7ad0b Format parameters 2019-07-30 14:56:05 +02:00
Christophe Bedard
5e5bbe1564 Make UST-related context fields optional 2019-07-30 11:19:42 +02:00
Christophe Bedard
6a6e2c6eed Add assert for handler_map 2019-07-29 15:49:39 +02:00
Christophe Bedard
c958ddc8b6 Extract base DataModel class 2019-07-29 15:48:49 +02:00
Christophe Bedard
0b5faf3862 Add util function for getting tid from node name 2019-07-29 15:24:40 +02:00
Christophe Bedard
992ee898cf Update callback_duration notebook 2019-07-29 14:49:08 +02:00
Christophe Bedard
33aad89d71 Fix import order 2019-07-29 14:47:21 +02:00
Christophe Bedard
2e37db5a79 Re-structure directories and modules 2019-07-29 14:44:41 +02:00
Christophe Bedard
4ccdbb688d Move load module 2019-07-29 14:29:29 +02:00
Christophe Bedard
9b96bb1132 Make util processor method a base class method 2019-07-29 13:47:44 +02:00
Christophe Bedard
5eb175cfd4 Add CPU time processor 2019-07-29 12:56:58 +02:00
Christophe Bedard
f7b368658a Cleanup 2019-07-29 12:56:23 +02:00
Christophe Bedard
208511038b Move data models to new subdirectory 2019-07-29 09:49:53 +02:00
Christophe Bedard
9d6b5cb77b Remove unhandled event error 2019-07-26 16:08:49 +02:00