hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/include/linux/dim.h
....@@ -236,8 +236,9 @@
236236 *
237237 * Calculate the delta between two samples (in data rates).
238238 * Takes into consideration counter wrap-around.
239
+ * Returned boolean indicates whether curr_stats are reliable.
239240 */
240
-void dim_calc_stats(struct dim_sample *start, struct dim_sample *end,
241
+bool dim_calc_stats(struct dim_sample *start, struct dim_sample *end,
241242 struct dim_stats *curr_stats);
242243
243244 /**