1 write to _stopWatches
Microsoft.Extensions.AI.Evaluation.Reporting (1)
ResponseCachingChatClient.cs (1)
30_stopWatches = new ConcurrentDictionary<string, Stopwatch>();
4 references to _stopWatches
Microsoft.Extensions.AI.Evaluation.Reporting (4)
ResponseCachingChatClient.cs (4)
42_ = _stopWatches.AddOrUpdate(key, addValue: stopwatch, updateValueFactory: (_, _) => stopwatch); 75_ = _stopWatches.AddOrUpdate(key, addValue: stopwatch, updateValueFactory: (_, _) => stopwatch); 102if (_stopWatches.TryRemove(key, out Stopwatch? stopwatch)) 127if (_stopWatches.TryRemove(key, out Stopwatch? stopwatch))