Checking for keypresses takes a non-negligible amount of time, and measurably affects our RTT. Minimise the impact by checking for keypresses only once per timer tick. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
60 |
|
60 |
|
61 |
|
61 |
|
62 |
|
62 |
|
|
63 |
|
|
63 |
|
64 |
|
|
65 |
|
|
64 |
|
66 |
|
65 |
|
67 |
|
66 |
|
68 |
|
|
|
||
70 |
|
72 |
|
71 |
|
73 |
|
72 |
|
74 |
|
73 |
|
|
|
|
75 |
|
|
74 |
|
76 |
|
|
77 |
|
|
|
78 |
|
|
75 |
|
79 |
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
84 |
|
95 |
|
|
96 |
|
|
85 |
|
97 |
|
86 |
|
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
87 |
|
101 |
|
88 |
|
102 |
|
89 |
|
103 |
|
|
|
||
99 |
|
113 |
|
100 |
|
114 |
|
101 |
|
115 |
|
102 |
|
|
|
|
116 |
|
|
103 |
|
117 |
|
104 |
|
118 |
|
105 |
|
119 |
|