Esempio n. 1
0
		public static void Time(Boolean startFresh, String text, Int32 numIterations, TimedOp op)
		{
			using (new CodeTimer(startFresh, text))
			{
				while (numIterations-- > 0) op();
			}
		}
Esempio n. 2
0
		public static void Time(String text, Int32 numIterations, TimedOp op)
		{
			Time(false, text, numIterations, op);
		}