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