Home
last modified time | relevance | path

Searched refs:bch2_time_stats (Results 1 – 5 of 5) sorted by relevance

/linux/fs/bcachefs/
H A Dtime_stats.h70 struct bch2_time_stats { struct
94 struct bch2_time_stats stats; argument
98 static inline struct quantiles *time_stats_to_quantiles(struct bch2_time_stats *stats) in time_stats_to_quantiles()
105 void __bch2_time_stats_clear_buffer(struct bch2_time_stats *, struct time_stat_buffer *);
106 void __bch2_time_stats_update(struct bch2_time_stats *stats, u64, u64);
116 static inline void bch2_time_stats_update(struct bch2_time_stats *stats, u64 start) in bch2_time_stats_update()
130 static inline bool track_event_change(struct bch2_time_stats *stats, bool v) in track_event_change()
145 void bch2_time_stats_reset(struct bch2_time_stats *);
146 void bch2_time_stats_exit(struct bch2_time_stats *);
147 void bch2_time_stats_init(struct bch2_time_stats *);
H A Dtime_stats.c69 static inline void time_stats_update_one(struct bch2_time_stats *stats, in time_stats_update_one()
102 void __bch2_time_stats_clear_buffer(struct bch2_time_stats *stats, in __bch2_time_stats_clear_buffer()
112 static noinline void time_stats_clear_buffer(struct bch2_time_stats *stats, in time_stats_clear_buffer()
122 void __bch2_time_stats_update(struct bch2_time_stats *stats, u64 start, u64 end) in __bch2_time_stats_update()
154 void bch2_time_stats_reset(struct bch2_time_stats *stats) in bch2_time_stats_reset()
157 unsigned offset = offsetof(struct bch2_time_stats, min_duration); in bch2_time_stats_reset()
168 void bch2_time_stats_exit(struct bch2_time_stats *stats) in bch2_time_stats_exit()
173 void bch2_time_stats_init(struct bch2_time_stats *stats) in bch2_time_stats_init()
H A Djournal_types.h307 struct bch2_time_stats *flush_write_time;
308 struct bch2_time_stats *noflush_write_time;
309 struct bch2_time_stats *flush_seq_time;
H A Dbcachefs.h641 struct bch2_time_stats duration;
642 struct bch2_time_stats lock_hold_times;
1087 struct bch2_time_stats times[BCH_TIME_STAT_NR];
H A Dutil.h230 void bch2_time_stats_to_text(struct printbuf *, struct bch2_time_stats *);