Calling method on with specific interval

Which library is compatible with the ARM processor of the MKR1000 for timing a method call every 1ms?

BR
Sune Pedersen