예제 #1
0
        public void Exec()
        {
            int        index2     = PerformanceMonitoringLink.Start("LinkLevel2");
            LinkLevel2 linkLevel2 = new LinkLevel2();

            linkLevel2.Exec();
            PerformanceMonitoringLink.Stop(index2);

            int        index3     = PerformanceMonitoringLink.Start("LinkLevel3");
            LinkLevel3 linkLevel3 = new LinkLevel3();

            linkLevel3.Exec();
            PerformanceMonitoringLink.Stop(index3);
        }
예제 #2
0
        public void Exec()
        {
            Thread.Sleep(1000);

            int        index3     = PerformanceMonitoringLink.Start("LinkLevel3");
            LinkLevel3 linkLevel3 = new LinkLevel3();

            linkLevel3.Exec();
            PerformanceMonitoringLink.Stop(index3);

            int        index4     = PerformanceMonitoringLink.Start("LinkLevel4");
            LinkLevel4 LinkLevel4 = new LinkLevel4();

            LinkLevel4.Exec();
            PerformanceMonitoringLink.Stop(index4);
        }