What is the easiest way to run some code each millisecond for a certain amount of time?

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.