src/Shared/EntityFramework/Core/Mapping/ViewGeneration/ConfigViewGenerator.cs
// <summary>
// Sets time for <paramref name="perfType" /> since the last call to <see cref="SetTimeForFinishedActivity" />.
// </summary>
Sets time for  since the last call to .
Sets time for since the last call to .
internal void SetTimeForFinishedActivity(PerfType perfType)
        {
            var timeElapsed = m_watch.Elapsed;
            var index = (int)perfType;
            BreakdownTimes[index] = BreakdownTimes[index].Add(timeElapsed);
            m_watch.Reset();
            m_watch.Start();
        }
internal void SetTimeForFinishedActivity ( PerfType perfType ) { var timeElapsed = m_watch . Elapsed ; var index = ( int ) perfType ; BreakdownTimes [ index ] = BreakdownTimes [ index ] . Add ( timeElapsed ) ; m_watch . Reset ( ) ; m_watch . Start ( ) ; }
Sets time for  since the last call to .
Sets time for since the last call to .
perfType
PerfType