6 instantiations of ProfilerResult
Microsoft.Build (5)
Evaluation\Profiler\EvaluationProfiler.cs (1)
38public ProfilerResult? ProfiledResult => _shouldTrackElements ? (ProfilerResult?)new ProfilerResult(_timeSpent) : null;
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
726e.ProfilerResult = new ProfilerResult(d);
Logging\ProfilerLogger.cs (2)
123return new ProfilerResult(_aggregatedLocations); 170return new ProfilerResult(_aggregatedLocations);
LogMessagePacketBase.cs (1)
1506var result = new ProfilerResult(dictionary);
Microsoft.Build.Engine.UnitTests (1)
BuildEventArgsSerialization_Tests.cs (1)
792ProfilerResult = new ProfilerResult(new Dictionary<EvaluationLocation, ProfiledLocation>
26 references to ProfilerResult
Microsoft.Build (16)
BackEnd\Components\Logging\EvaluationLoggingContext.cs (1)
45internal void LogProjectEvaluationFinished(IEnumerable globalProperties, IEnumerable properties, IEnumerable items, ProfilerResult? profilerResult)
BackEnd\Components\Logging\ILoggingService.cs (1)
530ProfilerResult? profilerResult);
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
456ProfilerResult? profilerResult)
Evaluation\Profiler\EvaluationProfiler.cs (2)
38public ProfilerResult? ProfiledResult => _shouldTrackElements ? (ProfilerResult?)new ProfilerResult(_timeSpent) : null;
Evaluation\Profiler\ProfilerResultPrettyPrinter.cs (3)
22public static string GetMarkdownContent(ProfilerResult result) 30public static string GetTsvContent(ProfilerResult result) 35private static string GetContent(ProfilerResult result, EvaluationLocationPrettyPrinterBase evaluationLocationPrinter)
Logging\ProfilerLogger.cs (4)
29private readonly ConcurrentQueue<ProfilerResult> _profiledResults = new ConcurrentQueue<ProfilerResult>(); 119internal ProfilerResult GetAggregatedResult(bool pruneSmallItems = true) 139ProfilerResult profiledResult;
LogMessagePacketBase.cs (4)
1025private void WriteProfileResult(ProfilerResult? result, ITranslator translator) 1031var value = result.Value; 1485private ProfilerResult? ReadProfileResult(ITranslator translator) 1506var result = new ProfilerResult(dictionary);
Microsoft.Build.Engine.UnitTests (8)
BackEnd\MockLoggingService.cs (1)
531ProfilerResult? profilerResult)
EvaluationProfiler_Tests.cs (7)
106var result = BuildAndGetProfilerResult(contents); 138var result = BuildAndGetProfilerResult(contents, false); 147var result = BuildAndGetProfilerResult(SpecData); 191var result = BuildAndGetProfilerResult(contents); 219var result = BuildAndGetProfilerResult(contents); 250var result = BuildAndGetProfilerResult(SpecData); 265private ProfilerResult BuildAndGetProfilerResult(string projectContent, bool setProjectLoadSetting = true)
Microsoft.Build.Framework (2)
Profiler\ProfilerResult.cs (1)
31if (!(obj is ProfilerResult result))
ProjectEvaluationFinishedEventArgs.cs (1)
57public ProfilerResult? ProfilerResult { get; set; }