@@ -74,21 +74,21 @@ void ReloadData()
7474 var selectedFrameIndex = System . Convert . ToInt32 ( ProfilerWindow . selectedFrameIndex ) ;
7575
7676 var eventCount = ProfilerDriver . GetFormattedCounterValue ( selectedFrameIndex ,
77- InputStatistics . Category . Name , InputStatistics . kEventCountName ) ;
77+ InputStatistics . Category . Name , InputStatistics . EventCountName ) ;
7878 var eventSizeBytes = ProfilerDriver . GetFormattedCounterValue ( selectedFrameIndex ,
79- InputStatistics . Category . Name , InputStatistics . kEventSizeName ) ;
79+ InputStatistics . Category . Name , InputStatistics . EventSizeName ) ;
8080 var averageLatency = ProfilerDriver . GetFormattedCounterValue ( selectedFrameIndex ,
81- InputStatistics . Category . Name , InputStatistics . kAverageLatencyName ) ;
81+ InputStatistics . Category . Name , InputStatistics . AverageLatencyName ) ;
8282 var maxLatency = ProfilerDriver . GetFormattedCounterValue ( selectedFrameIndex ,
83- InputStatistics . Category . Name , InputStatistics . kMaxLatencyName ) ;
83+ InputStatistics . Category . Name , InputStatistics . MaxLatencyName ) ;
8484 var eventProcessingTime = ProfilerDriver . GetFormattedCounterValue ( selectedFrameIndex ,
85- InputStatistics . Category . Name , InputStatistics . kEventProcessingTimeName ) ;
85+ InputStatistics . Category . Name , InputStatistics . EventProcessingTimeName ) ;
8686
87- m_EventCountLabel . text = $ "{ InputStatistics . kEventCountName } : { eventCount } ";
88- m_EventSizeLabel . text = $ "{ InputStatistics . kEventSizeName } : { eventSizeBytes } ";
89- m_AverageLatencyLabel . text = $ "{ InputStatistics . kAverageLatencyName } : { averageLatency } ";
90- m_MaxLatencyLabel . text = $ "{ InputStatistics . kMaxLatencyName } : { maxLatency } ";
91- m_EventProcessingTimeLabel . text = $ "{ InputStatistics . kEventProcessingTimeName } : { eventProcessingTime } ";
87+ m_EventCountLabel . text = $ "{ InputStatistics . EventCountName } : { eventCount } ";
88+ m_EventSizeLabel . text = $ "{ InputStatistics . EventSizeName } : { eventSizeBytes } ";
89+ m_AverageLatencyLabel . text = $ "{ InputStatistics . AverageLatencyName } : { averageLatency } ";
90+ m_MaxLatencyLabel . text = $ "{ InputStatistics . MaxLatencyName } : { maxLatency } ";
91+ m_EventProcessingTimeLabel . text = $ "{ InputStatistics . EventProcessingTimeName } : { eventProcessingTime } ";
9292 }
9393
9494 void OnSelectedFrameIndexChanged ( long selectedFrameIndex )
@@ -99,11 +99,11 @@ void OnSelectedFrameIndexChanged(long selectedFrameIndex)
9999
100100 private static readonly ProfilerCounterDescriptor [ ] Counters = new ProfilerCounterDescriptor [ ]
101101 {
102- new ( InputStatistics . kEventCountName , InputStatistics . Category ) ,
103- new ( InputStatistics . kEventSizeName , InputStatistics . Category ) ,
104- new ( InputStatistics . kAverageLatencyName , InputStatistics . Category ) ,
105- new ( InputStatistics . kMaxLatencyName , InputStatistics . Category ) ,
106- new ( InputStatistics . kEventProcessingTimeName , InputStatistics . Category ) ,
102+ new ( InputStatistics . EventCountName , InputStatistics . Category ) ,
103+ new ( InputStatistics . EventSizeName , InputStatistics . Category ) ,
104+ new ( InputStatistics . AverageLatencyName , InputStatistics . Category ) ,
105+ new ( InputStatistics . MaxLatencyName , InputStatistics . Category ) ,
106+ new ( InputStatistics . EventProcessingTimeName , InputStatistics . Category ) ,
107107 } ;
108108
109109 public InputSystemProfilerModule ( )
0 commit comments