Original Post
I am writing a game with the .net framework and I need a different type of timing. The System.Timer namespace seems to only have a class to call a callback after a given time. I want to find the time my loop took to execute for animation, AI, etc. Is there a timer that is compatible with Mono that returns a number (# of seconds/milliseconds/ticks since the start of code/last time it was called)? Basicly I am looking for something in .net, not calling QueryPerformanceCounter from a dll.
Any help is appreciated!