public void SetCallsData(CallsData callsData) { m_CallsData = callsData; // Cache Time % value if (m_CallsData.calls != null) { foreach (var callInfo in m_CallsData.calls) { callInfo.timePercent = m_Type == Type.Callees ? callInfo.totalCallTimeMs / m_CallsData.totalSelectedPropertyTime : callInfo.totalSelfTimeMs / callInfo.totalCallTimeMs; } } OnSortingChanged(multiColumnHeader); }
public void SetCallsData(CallsData callsData) { InitIfNeeded(); m_View.SetCallsData(callsData); }
private void UpdateCallsData(ref CallsData callsData, Dictionary <int, CallInformation> data, float totalSelectedPropertyTime) { callsData.calls.Clear(); callsData.calls.AddRange(data.Values); callsData.totalSelectedPropertyTime = totalSelectedPropertyTime; }