コード例 #1
0
        public bool Go()
        {
            bool          bOk  = true;
            Configuration conf = new Configuration();

            if (_cmdArgs.Contains("-relBase"))
            {
                System.Reflection.Assembly a = System.Reflection.Assembly.GetEntryAssembly();
                string baseDir = System.IO.Path.GetDirectoryName(a.Location);
                baseDir = Directory.GetParent(baseDir).ToString();
                baseDir = Directory.GetParent(baseDir).ToString();
                conf.SetBaseDir(baseDir);
                System.Console.WriteLine("Affirmative - relative base directory identified: {0}",
                                         baseDir);
            }
            PerformanceSummary ps   = new PerformanceSummary(conf.ProductName());
            PerfUCRegister     pucr = new PerfUCRegister(conf);

            pucr.ParseUC4aRes(ps);
            pucr.ParseUC7Res(ps);
            pucr.ParseUC8Res(ps);
            pucr.ParseUC9Res(ps);
            pucr.ParseUC10Res(ps);

            Directory.CreateDirectory(conf.ReportsDir());
            ps.SaveTo(conf.GensymPerformanceReportFP());
            ps.SaveCommonFaster(conf.CommonFasterNbbReportDir());
            return(bOk);
        }
コード例 #2
0
 public abstract bool Go(PerformanceSummary psDest);
コード例 #3
0
 public Boolean ParseUC10Res(PerformanceSummary psDest)
 {
     return(new PerfUC10ResParser(_conf).Go(psDest));
 }