5 #ifndef UAVCAN_TRANSPORT_PERF_COUNTER_HPP_INCLUDED 6 #define UAVCAN_TRANSPORT_PERF_COUNTER_HPP_INCLUDED 20 void addTxTransfer() { }
21 void addRxTransfer() { }
23 void addErrors(
unsigned) { }
24 uint64_t getTxTransferCount()
const {
return 0; }
25 uint64_t getRxTransferCount()
const {
return 0; }
26 uint64_t getErrorCount()
const {
return 0; }
72 #endif // UAVCAN_TRANSPORT_PERF_COUNTER_HPP_INCLUDED
const uint64_t & getErrorCount() const
const uint64_t & getTxTransferCount() const
const uint64_t & getRxTransferCount() const
void addErrors(unsigned errors)