Пример #1
0
        /// <summary>
        /// Gets the percentage of time blocked on various resources
        /// </summary>
        public LimitingResourcePercentages GetLimitingResourcePercentages()
        {
            lock (m_lock)
            {
                var result = new LimitingResourcePercentages()
                {
                    GraphShape       = GetPercentage(m_blockedOnGraphMs),
                    CPU              = GetPercentage(m_blockedOnCpuMs),
                    Disk             = GetPercentage(m_blockedOnDiskMs),
                    Memory           = GetPercentage(m_blockedOnMemoryMs),
                    ConcurrencyLimit = GetPercentage(m_blockedOnPipSynchronization),
                };

                // It's possible these percentages don't add up to 100%. So we'll round everything down
                // and use "Other" as our fudge factor to make sure we add up to 100.
                result.Other = 100 - result.GraphShape - result.CPU - result.Disk - result.Memory - result.ConcurrencyLimit;
                return(result);
            }
        }
Пример #2
0
 public abstract void DominoPerformanceSummary(LoggingContext context, int processPipsCacheHit, int cacheHitRate, int incrementalSchedulingPrunedPips, int incrementalSchedulingPruneRate, int totalProcessPips, bool serverUsed,
                                               string appInitializationPercent, string graphConstructionPercent, string scrubbingPercent, string schedulerInitPercent, string executePhasePercent, int highLevelOtherPercent,
                                               string checkingForPipGraphReusePercent, string reloadingPipGraphPercent, string createGraphPercent, int graphConstructionOtherPercent,
                                               int processExecutePercent, string telemetryTagsPercent, int processRunningPercent, int hashingInputs, int checkingForCacheHit, int processOutputs, int replayFromCache, int prepareSandbox, int processOverheadOther, int nonProcessPips,
                                               int averageCpu, int minAvailableMemoryMb, string diskUsage,
                                               LimitingResourcePercentages limitingResourcePercentages);