@@ -74,21 +74,21 @@ void ReloadData()
74
74
var selectedFrameIndex = System . Convert . ToInt32 ( ProfilerWindow . selectedFrameIndex ) ;
75
75
76
76
var eventCount = ProfilerDriver . GetFormattedCounterValue ( selectedFrameIndex ,
77
- InputStatistics . Category . Name , InputStatistics . kEventCountName ) ;
77
+ InputStatistics . Category . Name , InputStatistics . EventCountName ) ;
78
78
var eventSizeBytes = ProfilerDriver . GetFormattedCounterValue ( selectedFrameIndex ,
79
- InputStatistics . Category . Name , InputStatistics . kEventSizeName ) ;
79
+ InputStatistics . Category . Name , InputStatistics . EventSizeName ) ;
80
80
var averageLatency = ProfilerDriver . GetFormattedCounterValue ( selectedFrameIndex ,
81
- InputStatistics . Category . Name , InputStatistics . kAverageLatencyName ) ;
81
+ InputStatistics . Category . Name , InputStatistics . AverageLatencyName ) ;
82
82
var maxLatency = ProfilerDriver . GetFormattedCounterValue ( selectedFrameIndex ,
83
- InputStatistics . Category . Name , InputStatistics . kMaxLatencyName ) ;
83
+ InputStatistics . Category . Name , InputStatistics . MaxLatencyName ) ;
84
84
var eventProcessingTime = ProfilerDriver . GetFormattedCounterValue ( selectedFrameIndex ,
85
- InputStatistics . Category . Name , InputStatistics . kEventProcessingTimeName ) ;
85
+ InputStatistics . Category . Name , InputStatistics . EventProcessingTimeName ) ;
86
86
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 } ";
92
92
}
93
93
94
94
void OnSelectedFrameIndexChanged ( long selectedFrameIndex )
@@ -99,11 +99,11 @@ void OnSelectedFrameIndexChanged(long selectedFrameIndex)
99
99
100
100
private static readonly ProfilerCounterDescriptor [ ] Counters = new ProfilerCounterDescriptor [ ]
101
101
{
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 ) ,
107
107
} ;
108
108
109
109
public InputSystemProfilerModule ( )
0 commit comments