コード例 #1
0
 public void SetCallsData(ProfilerDetailedCallsView.CallsData callsData)
 {
     this.m_CallsData = callsData;
     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);
 }
コード例 #2
0
 public void SetCallsData(ProfilerDetailedCallsView.CallsData callsData)
 {
     this.InitIfNeeded();
     this.m_View.SetCallsData(callsData);
 }