Commit Graph

41 Commits

Author SHA1 Message Date
Pavel Kirienko 2b2c307eac Performance audit (intentionally duplicates #6829) (#6847)
* UAVCAN ESC output: removing ESC output channels from published message that are always zero. This allows the UAVCAN stack to always transfer only the minimum number of output values, avoiding redundant zeroes and the associated increase in bus load and CPU time

* Added a separate mixer file for CAN quadrotor

* Sampling profiler improvements

* PMSP: Output more endpoints

* Matrix update

* libc usage workaround

* Removed UAVCAN perfcounters

* Matrix submodule update
2017-03-18 04:16:20 -10:00
David Sidrane c20b85e6ad Revert "UAVCAN performance audit (#6829)" (#6846)
This reverts commit 21e04c9f7a.
2017-03-18 04:04:43 -10:00
Pavel Kirienko 21e04c9f7a UAVCAN performance audit (#6829)
* UAVCAN ESC output: removing ESC output channels from published message that are always zero. This allows the UAVCAN stack to always transfer only the minimum number of output values, avoiding redundant zeroes and the associated increase in bus load and CPU time

* Added a separate mixer file for CAN quadrotor

* Sampling profiler improvements

* PMSP: Output more endpoints

* Matrix update

* libc usage workaround

* Removed UAVCAN perfcounters
2017-03-18 03:47:09 -10:00
Pavel Kirienko 885077a1c3 Profiler: folder fix - more special cases for operator<< and operator>> 2015-01-21 14:54:24 +01:00
Pavel Kirienko 543cb23128 Profiler: computing stack top distribution 2015-01-21 14:54:23 +01:00
Pavel Kirienko 647163d6fa Profiler - header comment fix 2015-01-21 14:54:23 +01:00
Pavel Kirienko f158c8270b Rich man's profiler - handling quotes 2015-01-21 14:54:23 +01:00
Pavel Kirienko d1abf9c133 Poor man's profiler - proper stack folder that handles generic C++ types 2015-01-21 14:54:23 +01:00
Pavel Kirienko 1898b51c74 Profiler: reporting function position in flame graphs 2015-01-21 14:54:23 +01:00
Pavel Kirienko ff7c33a4b0 Profiler: xdg-open work-around 2015-01-21 14:54:23 +01:00
Pavel Kirienko c0d71529bc Profiler fixes 2015-01-21 14:54:23 +01:00
Pavel Kirienko c0937ec8ca Profiler fixes 2015-01-21 14:54:23 +01:00
Pavel Kirienko 9293950cdb NuttX profiler improvements 2015-01-21 14:54:23 +01:00
Pavel Kirienko dd3fa2532e Poor man's sampling profiler for NuttX 2015-01-21 14:54:23 +01:00
Pavel Kirienko e41bf13ac5 Nuttx.py: 'show mybt' outputs in GDB-like format for ease of parsing 2015-01-21 14:54:23 +01:00
Pavel Kirienko 9215a8d8da Nuttx.py fixes: Python 2.7 support (required for gcc-arm-toolchain from Terry Guo), fixed int parsing, show mybt by name 2015-01-21 14:54:23 +01:00
Kevin Hester 2e1ac72b59 Speed up stack dumping by looking for freespace 4 bytes at a time
Conflicts:
	mavlink/include/mavlink/v1.0
2015-01-04 20:38:48 +01:00
mazahner d15203de91 Debug/NuttX: small changes to make it work with the current stable branch. Debug/NuttX made existing code work with python3 in gdb. Added some new features 2014-11-10 17:37:15 +01:00
Andrew Tridgell f1258da610 Debug: fixes for gdb extension macros 2014-04-28 11:43:09 +02:00
Andrew Tridgell e9c94fa581 Debug: fixes for Nuttx.py debug gdb add-ons
also fixed preceding mask calculation in show heaps
2014-04-28 11:42:59 +02:00
px4dev 2678aba9fe A bit more NuttX gdb/python tooling to recover an interrupted context. Needs more fleshing out. 2013-09-14 21:41:35 -07:00
px4dev 8755d76d1b Hotfix - fault decode typo in ARMv7M macros 2013-09-11 08:56:45 -07:00
Kevin Hester 1c371a6cf8 openocd: lost change from my cherry-picking 2013-08-21 15:02:34 +02:00
Kevin Hester fa8f8f2a02 add step hooks to make stepping work correctly for non isrs
Conflicts:

	Debug/openocd.gdbinit
	Debug/px4fmu-v1-board.cfg
2013-08-21 15:02:18 +02:00
Kevin Hester f665ace38c Add scripts for debugging with openocd
Note: We now use the version of stm32f4x that comes with openocd 0.7.0 or later
2013-08-21 15:01:51 +02:00
Lorenz Meier 2a58929ffd Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-20 16:26:15 +02:00
px4dev d90345a166 Some early gdb/Python macros for working with NuttX.
Note; only tested with gdb 7.6. Will definitely not work with the stock PX4 toolchain's gdb.
2013-08-17 21:48:54 -07:00
Andrew Tridgell 91e54aa5be add .gdbinit as Debug/dot.gdbinit
very useful for JTAG debugging
2013-08-11 01:47:21 +02:00
px4dev f7963a8c84 Fix printing of PC_COUNT perf counters 2013-07-04 23:14:13 -07:00
px4dev 42694a5736 Make some improvements to the ARMv7M fault decode logic. 2013-03-02 22:17:43 -08:00
Lorenz Meier 6dd1cfd622 Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c-memory-squeeze 2013-02-24 22:58:46 +01:00
px4dev 2e321f273c Don't try to print the idle stack usage (we need to fix it up before the code can be adapted to measure it). 2013-02-24 00:17:19 -08:00
px4dev 9a4d6455fc More debug macros. 2013-01-23 18:55:23 -08:00
px4dev 09535fef83 Start adding PX4 firmware helper macros 2013-01-14 09:34:33 -08:00
px4dev 404332aefe Break out the task stack usage sniffer so we can use it on systems where the task layout has been shrunk (e.g. PX4IO) 2012-12-01 14:55:48 -08:00
px4dev 6901a85323 Make the task printer work with our usual config. Tough to detect the correct configuration here. 2012-08-28 09:15:12 -07:00
px4dev 92c723d008 Fix a missing 'end' that breaks task listing. 2012-08-25 18:25:15 -07:00
Lorenz Meier 1bea49869b task file list gdb macro 2012-08-22 10:00:46 +02:00
px4dev 56b3b46f75 Add heap used/free summaries to heap dump 2012-08-12 12:53:10 -07:00
px4dev 89037cc83a typo that causes the heap printer to fail by recursing infinitely 2012-08-11 20:53:42 -07:00
px4dev 8a365179ea Fresh import of the PX4 firmware sources. 2012-08-04 15:12:36 -07:00