Lines Matching full:lat
80 ktime_to_ceph_timespec(&read->lat, sum); in ceph_mdsc_send_metrics()
93 ktime_to_ceph_timespec(&write->lat, sum); in ceph_mdsc_send_metrics()
106 ktime_to_ceph_timespec(&meta->lat, sum); in ceph_mdsc_send_metrics()
329 ktime_t *sq_sump, ktime_t lat) in __update_mean_and_stdev() argument
334 *lavg = lat; in __update_mean_and_stdev()
336 /* the sq is (lat - old_avg) * (lat - new_avg) */ in __update_mean_and_stdev()
337 avg = *lavg + div64_s64(lat - *lavg, total); in __update_mean_and_stdev()
338 *sq_sump += (lat - *lavg)*(lat - avg); in __update_mean_and_stdev()
347 ktime_t lat = ktime_sub(r_end, r_start); in ceph_update_metrics() local
357 m->latency_sum += lat; in ceph_update_metrics()
358 METRIC_UPDATE_MIN_MAX(m->latency_min, m->latency_max, lat); in ceph_update_metrics()
360 lat); in ceph_update_metrics()