HMC: Use shorter perf names

This commit is contained in:
Lorenz Meier
2016-03-28 13:02:41 +02:00
parent b71123f4fe
commit 54a75d5ef9
+4 -4
View File
@@ -362,10 +362,10 @@ HMC5883::HMC5883(device::Device *interface, const char *path, enum Rotation rota
_orb_class_instance(-1),
_mag_topic(nullptr),
_sample_perf(perf_alloc(PC_ELAPSED, "hmc5883_read")),
_comms_errors(perf_alloc(PC_COUNT, "hmc5883_comms_errors")),
_buffer_overflows(perf_alloc(PC_COUNT, "hmc5883_buffer_overflows")),
_range_errors(perf_alloc(PC_COUNT, "hmc5883_range_errors")),
_conf_errors(perf_alloc(PC_COUNT, "hmc5883_conf_errors")),
_comms_errors(perf_alloc(PC_COUNT, "hmc5883_com_err")),
_buffer_overflows(perf_alloc(PC_COUNT, "hmc5883_buf_of")),
_range_errors(perf_alloc(PC_COUNT, "hmc5883_rng_err")),
_conf_errors(perf_alloc(PC_COUNT, "hmc5883_conf_err")),
_sensor_ok(false),
_calibrated(false),
_rotation(rotation),