Пример #1
0
 public StatsPerType(string name, BuildXLStats stats)
 {
     Total   = stats.GetValue($"PipStats.{name}_Total");
     Done    = stats.GetValue($"PipStats.{name}_Done");
     Failed  = stats.GetValue($"PipStats.{name}_Failed");
     Skipped = stats.GetValue($"PipStats.{name}_Skipped ");
     Ignored = stats.GetValue($"PipStats.{name}_Ignored");
 }
Пример #2
0
        public PipStats(BuildXLStats stats)
        {
            ProcessPipCacheHits       = stats.GetValue("ProcessPipCacheHits");
            ProcessPipCacheMisses     = stats.GetValue("ProcessPipCacheMisses");
            ProcessDelayedBySemaphore = stats.GetValue("ProcessDelayedBySemaphore");
            ProcessPipsSkippedDueToFailedDependencies = stats.GetValue("ProcessPipsSkippedDueToFailedDependencies");
            Total = new StatsPerType
            {
                Total   = stats.GetValue("TotalPips"),
                Done    = stats.GetValue("PipsSucceeded"),
                Failed  = stats.GetValue("PipsFailed"),
                Ignored = stats.GetValue("PipsIgnored"),
            };

            Process        = new StatsPerType("Process", stats);
            CopyFile       = new StatsPerType("CopyFile", stats);
            WriteFile      = new StatsPerType("WriteFile", stats);
            SealDirectory  = new StatsPerType("SealDirectory", stats);
            Ipc            = new StatsPerType("Ipc", stats);
            Value          = new StatsPerType("Value", stats);
            SpecFile       = new StatsPerType("SpecFile", stats);
            Module         = new StatsPerType("Module", stats);
            HashSourceFile = new StatsPerType("HashSourceFile", stats);
        }