Exemple #1
0
        private static void Call_1(PerformanceMonitor perfMon)
        {
            perfMon.StartCall(Tools.GetCaller());
            Thread.Sleep(300);

            Call_1_1(perfMon);

            Call_1_2(perfMon);

            Thread.Sleep(400);

            Call_1_1(perfMon);
            Call_1_2(perfMon);

            perfMon.EndCall();
        }
Exemple #2
0
        public static void RunTest()
        {
            PerformanceMonitor perfMon = new PerformanceMonitor();

            Call_1(perfMon);
        }