Home
last modified time | relevance | path

Searched refs:avg_time (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/testing/selftests/amd-pstate/
H A Dgitsource.sh167 avg_time=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum/'$LOOP_TIMES'}' $OUTFILE_GIT-time-$1.log)
168 printf "Gitsource-$1 avg user times(s): $avg_time\n" | tee -a $OUTFILE_GIT.result
189 …store_csv_gitsource "$driver_name-$1" "Average" $avg_des_perf $avg_freq $avg_load $avg_time $avg_e…
/openbmc/linux/drivers/leds/
H A Dleds-lm3532.c270 static int lm3532_get_als_avg_index(int avg_time) in lm3532_get_als_avg_index() argument
272 if (avg_time <= als_avrg_table[0]) in lm3532_get_als_avg_index()
275 if (avg_time > als_avrg_table[LM3532_NUM_AVG_VALS - 1]) in lm3532_get_als_avg_index()
279 avg_time); in lm3532_get_als_avg_index()
/openbmc/linux/fs/
H A Dfs-writeback.c784 unsigned long avg_time, max_bytes, max_time; in wbc_detach_inode() local
792 avg_time = inode->i_wb_frn_avg_time; in wbc_detach_inode()
816 if (avg_time) in wbc_detach_inode()
817 avg_time += (max_time >> WB_FRN_TIME_AVG_SHIFT) - in wbc_detach_inode()
818 (avg_time >> WB_FRN_TIME_AVG_SHIFT); in wbc_detach_inode()
820 avg_time = max_time; /* immediate catch up on first run */ in wbc_detach_inode()
822 if (max_time >= avg_time / WB_FRN_TIME_CUT_DIV) { in wbc_detach_inode()
858 inode->i_wb_frn_avg_time = min(avg_time, (unsigned long)U16_MAX); in wbc_detach_inode()