mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 07:13:35 +08:00
MPU9K: Use shorter perf names
This commit is contained in:
@@ -234,14 +234,14 @@ MPU9250::MPU9250(int bus, const char *path_accel, const char *path_gyro, const c
|
||||
_gyro_range_rad_s(0.0f),
|
||||
_dlpf_freq(MPU9250_DEFAULT_ONCHIP_FILTER_FREQ),
|
||||
_sample_rate(1000),
|
||||
_accel_reads(perf_alloc(PC_COUNT, "mpu9250_accel_read")),
|
||||
_accel_reads(perf_alloc(PC_COUNT, "mpu9250_acc_read")),
|
||||
_gyro_reads(perf_alloc(PC_COUNT, "mpu9250_gyro_read")),
|
||||
_sample_perf(perf_alloc(PC_ELAPSED, "mpu9250_read")),
|
||||
_bad_transfers(perf_alloc(PC_COUNT, "mpu9250_bad_transfers")),
|
||||
_bad_registers(perf_alloc(PC_COUNT, "mpu9250_bad_registers")),
|
||||
_good_transfers(perf_alloc(PC_COUNT, "mpu9250_good_transfers")),
|
||||
_reset_retries(perf_alloc(PC_COUNT, "mpu9250_reset_retries")),
|
||||
_duplicates(perf_alloc(PC_COUNT, "mpu9250_duplicates")),
|
||||
_bad_transfers(perf_alloc(PC_COUNT, "mpu9250_bad_trans")),
|
||||
_bad_registers(perf_alloc(PC_COUNT, "mpu9250_bad_reg")),
|
||||
_good_transfers(perf_alloc(PC_COUNT, "mpu9250_good_trans")),
|
||||
_reset_retries(perf_alloc(PC_COUNT, "mpu9250_reset")),
|
||||
_duplicates(perf_alloc(PC_COUNT, "mpu9250_dupe")),
|
||||
_controller_latency_perf(perf_alloc_once(PC_ELAPSED, "ctrl_latency")),
|
||||
_register_wait(0),
|
||||
_reset_wait(0),
|
||||
|
||||
Reference in New Issue
Block a user