From c1fdd96bf5885c5b025327ca8742cbe9cdc3ec14 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Fri, 11 Jun 2021 11:30:07 -0400 Subject: converting arguments for FreqToSettings in the benchmark --- bench_lmx2487.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bench_lmx2487.lua b/bench_lmx2487.lua index a952305..7a9a6d9 100644 --- a/bench_lmx2487.lua +++ b/bench_lmx2487.lua @@ -42,7 +42,6 @@ bench(function() local tTmp=bitSlice(tB,13,22) end, 10 , "bitSlice") tB=nil -- main time hog -sinit= initSettings() -bench(function() snew = FreqToSettings(6.834e9, sinit) end, 1, "FreqToSettings") -sinit=nil +set_lmx2487_board_to_default_state() +bench(function() FreqToSettings(6.834e9) end, 1, "FreqToSettings") -- cgit v1.2.3