Skip to content

Commit

Permalink
Update TuneUpWindowViewModel.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
ivaylo-matov committed Nov 26, 2024
1 parent d1cbff3 commit 7b63bc4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions TuneUp/TuneUpWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1077,12 +1077,33 @@ private void OnCurrentWorkspaceCleared(IWorkspaceModel workspace)
/// </summary>
private class WorkspaceProfilingData
{
/// <summary>
/// Guid to map graphs with cached data
/// </summary>
public Guid GraphGuid { get; set; }
/// <summary>
/// Collection to cache nodes executed in the latest run of the graph.
/// </summary>
public ObservableCollection<ProfiledNodeViewModel> LatestRunNodes { get; set; } = new();
/// <summary>
/// Collection to cache nodes executed in the previous run of the graph.
/// </summary>
public ObservableCollection<ProfiledNodeViewModel> PreviousRunNodes { get; set; } = new();
// <summary>
/// Collection to cache nodes that were not executed in the graph.
/// </summary>
public ObservableCollection<ProfiledNodeViewModel> NotExecutedNodes { get; set; } = new();
/// <summary>
/// String to cache the Total execution time for the graph across all runs.
/// </summary>
public string TotalGraphExecutionTime { get; set; }
/// <summary>
/// String to cache the Execution time for the latest graph run.
/// </summary>
public string LatestGraphExecutionTime { get; set; }
/// <summary>
/// String to cache the Execution time for the previous graph run.
/// </summary>
public string PreviousGraphExecutionTime { get; set; }
}

Expand Down

0 comments on commit 7b63bc4

Please sign in to comment.