Searched refs:sample_rate_estimator (Results 1 – 4 of 4) sorted by relevance
26 struct SampleRateEstimator* sample_rate_estimator) { in sampleRateEstimatorResetAccumulator() argument27 sample_rate_estimator->last_timestamp_nanos = 0.0f; in sampleRateEstimatorResetAccumulator()28 sample_rate_estimator->interval_accumulator_nanos = 0.0f; in sampleRateEstimatorResetAccumulator()29 sample_rate_estimator->num_intervals_collected = 0; in sampleRateEstimatorResetAccumulator()32 void sampleRateEstimatorInit(struct SampleRateEstimator* sample_rate_estimator, in sampleRateEstimatorInit() argument35 CHRE_ASSERT_NOT_NULL(sample_rate_estimator); in sampleRateEstimatorInit()36 memset(sample_rate_estimator, 0, sizeof(struct SampleRateEstimator)); in sampleRateEstimatorInit()37 sample_rate_estimator->mean_sampling_rate_estimate_hz = in sampleRateEstimatorInit()39 sample_rate_estimator->num_intervals_to_collect = num_intervals_to_collect; in sampleRateEstimatorInit()40 sample_rate_estimator->max_interval_nanos = in sampleRateEstimatorInit()[all …]
100 void sampleRateEstimatorInit(struct SampleRateEstimator* sample_rate_estimator,113 struct SampleRateEstimator* sample_rate_estimator);117 struct SampleRateEstimator* sample_rate_estimator,
195 sampleRateEstimatorInit(&gyro_cal->debug_gyro_cal.sample_rate_estimator, in gyroCalInit()273 sampleRateEstimatorUpdate(&gyro_cal->debug_gyro_cal.sample_rate_estimator, in gyroCalUpdateGyro()927 CAL_ENCODE_FLOAT(gyro_cal->debug_gyro_cal.sample_rate_estimator in gyroCalDebugPrintData()
69 struct SampleRateEstimator sample_rate_estimator; member