Exemplo n.º 1
0
 public void SetCallsData(ProfilerDetailedCallsView.CallsData callsData)
 {
     this.m_CallsData = callsData;
     if (this.m_CallsData.calls != null)
     {
         foreach (ProfilerDetailedCallsView.CallInformation current in this.m_CallsData.calls)
         {
             current.timePercent = ((this.m_Type != ProfilerDetailedCallsView.CallsTreeView.Type.Callees) ? (current.totalSelfTimeMs / current.totalCallTimeMs) : (current.totalCallTimeMs / (double)this.m_CallsData.totalSelectedPropertyTime));
         }
     }
     this.OnSortingChanged(base.multiColumnHeader);
 }
Exemplo n.º 2
0
 public void SetCallsData(ProfilerDetailedCallsView.CallsData callsData)
 {
     this.InitIfNeeded();
     this.m_View.SetCallsData(callsData);
 }