diff options
author | px4dev <px4@purgatory.org> | 2013-07-13 21:34:31 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-07-13 21:34:31 -0700 |
commit | 28f996b026f4de7e572f0676834ac5eafa5dee7f (patch) | |
tree | ee89eb44d4697cf31ae609548a933e61803c8d88 /src/drivers | |
parent | 4f0ae1cdeac75111e232001e86e9d0dc2f531935 (diff) | |
download | px4-firmware-28f996b026f4de7e572f0676834ac5eafa5dee7f.tar.gz px4-firmware-28f996b026f4de7e572f0676834ac5eafa5dee7f.tar.bz2 px4-firmware-28f996b026f4de7e572f0676834ac5eafa5dee7f.zip |
rename the px4io serial perf counters so it's clearer what they belong to
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/px4io/px4io_serial.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/drivers/px4io/px4io_serial.cpp b/src/drivers/px4io/px4io_serial.cpp index c48b6ec4c..20b89accb 100644 --- a/src/drivers/px4io/px4io_serial.cpp +++ b/src/drivers/px4io/px4io_serial.cpp @@ -170,16 +170,16 @@ PX4IO_serial::PX4IO_serial() : _tx_dma(nullptr), _rx_dma(nullptr), _rx_dma_status(_dma_status_inactive), - _pc_txns(perf_alloc(PC_ELAPSED, "txns ")), - _pc_dmasetup(perf_alloc(PC_ELAPSED, "dmasetup ")), - _pc_retries(perf_alloc(PC_COUNT, "retries ")), - _pc_timeouts(perf_alloc(PC_COUNT, "timeouts ")), - _pc_crcerrs(perf_alloc(PC_COUNT, "crcerrs ")), - _pc_dmaerrs(perf_alloc(PC_COUNT, "dmaerrs ")), - _pc_protoerrs(perf_alloc(PC_COUNT, "protoerrs")), - _pc_uerrs(perf_alloc(PC_COUNT, "uarterrs ")), - _pc_idle(perf_alloc(PC_COUNT, "idle ")), - _pc_badidle(perf_alloc(PC_COUNT, "badidle ")) + _pc_txns(perf_alloc(PC_ELAPSED, "io_txns ")), + _pc_dmasetup(perf_alloc(PC_ELAPSED, "io_dmasetup ")), + _pc_retries(perf_alloc(PC_COUNT, "io_retries ")), + _pc_timeouts(perf_alloc(PC_COUNT, "io_timeouts ")), + _pc_crcerrs(perf_alloc(PC_COUNT, "io_crcerrs ")), + _pc_dmaerrs(perf_alloc(PC_COUNT, "io_dmaerrs ")), + _pc_protoerrs(perf_alloc(PC_COUNT, "io_protoerrs")), + _pc_uerrs(perf_alloc(PC_COUNT, "io_uarterrs ")), + _pc_idle(perf_alloc(PC_COUNT, "io_idle ")), + _pc_badidle(perf_alloc(PC_COUNT, "io_badidle ")) { /* allocate DMA */ _tx_dma = stm32_dmachannel(PX4IO_SERIAL_TX_DMAMAP); |