Some functions executed from a given task may want to know how often they are being called - so I provide this definition. From RTI registers I could get a clock divider value and somehow derive the timing from it, but that would be pretty complex as even those values depend on other general clock settings.
I aligned the m(s) so I'm sure that I'm using the correct variables since I have variables with the same name with v at the beginning most of the time.
Also it's really easy to copy/paste variables vertically.
Also it shows me at first look that I used ".value" otherwise it won't work.