steve has the right idea for the math but since el1/el2 vars can be updated via the isr at any time during the calcs the results will vary.
statisticly it will fail about 4-5 times per hundred calcs based on :-
I think chances of failure are 1/60+1/60+1/100+1/24 I might be wrong about the stats
Bookmarks