diff options
Diffstat (limited to 'bench_lmx2487.lua')
-rw-r--r-- | bench_lmx2487.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bench_lmx2487.lua b/bench_lmx2487.lua index 65d25fc..d1221d4 100644 --- a/bench_lmx2487.lua +++ b/bench_lmx2487.lua @@ -20,6 +20,10 @@ bench(function() local t={1}; t[2]=2; t[3]=3 end, 10 , "table expand by 2 elemen bench(function() bit.rshift(4000000,1) end, 10 , "bit.rshift(4000000,1)") +-- 8560613 corresponds to R2 settings +bench(function(x) microwire_send_data( 8560613 ) end, 10, "microwire_send_data") +bench(function(x) lmx2487_need_update[3]=true; send_register_lmx2487(2) end, 10, "send_register_lmx2487") + bench(function() freq2regestersValues(6.834e9) end, 10 , "freq2regestersValues") -- main time hog |