I test every 45 mins, and eat depending on the BG at that time. Last weekend went a bit like this
Breakfast was scrambled eggs, mushrooms, smoked salmon and coffee with double cream, basal rate reduced.
BG before was 5.5, and on arrival at ride HQ, 7.2 perfect to start out.
I had half a snickers bar (15g carbs) before the start, anticipating a drop.
45 min 7.0, finished the rest of the snickers, another 15g
90 min 7.7, half a 9-bar for 5g
130 min, back to HQ, 50km completed - 6.3, cake for 25g.
About an hour to the next one (working on more carbs in the cake) 5.7, another 9-bar for 10g
Left the next one far too late, a) my Garmin threw a wobbly and b) it was only 30k back to HQ . So tested at the return down to 3.5 (oops), the other half of that 9-bar for 5g more.
Quick cup of coffee and retest for driving home, only up to 4.3 so had half of my reserve pork pie for 15g.
Total 105km, 4hr 11 riding time, 4hr 50 total time, 90g carbs