Latency determinations for human interface devices
Abstract
In various examples, latency of human interface devices (HIDs) may be accounted for in determining an end-to-end latency of a system. For example, when an input is received at an HID, an amount of time for the input to reach a connected device may be computed by the HID and included in a data packet transmitted by the HID device to the connected device. The addition of the peripheral latency to the end-to-end latency determination may provide a more comprehensive latency result for the system and, where the peripheral latency of an HID is determined to have a non-negligible contribution to the end-to-end latency, a new HID component may be implemented, a configuration setting associated with the HID component may be updated, and/or other actions may be taken to reduce the contribution of the peripheral latency to the overall latency of the system.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method comprising: receiving, using a computing device, input data from an input device, the input data representative of an input received by the input device; receiving, using the computing device, latency data from the input device, the latency data indicative of a latency value that is computed using the input device and corresponding to an amount of time between the input being received by the input device and the input data representative of the input being received by the computing device; determining, using the computing device, the latency value using the latency data; and causing, using the computing device and after the receiving of the input data, a display to present content associated with the input data.
- Claim 2Depends on #1
The method of claim 1, wherein the latency value is a first latency value, and the method further comprises: determining a second latency value corresponding to another amount of time between the input data being received by the computing device and the display presenting the content associated with the input data; and computing an end-to-end latency value based at least on the first latency value and the second latency value.
- Claim 3Depends on #2
The method of claim 2, further comprising displaying content representative of at least one of the first latency value, the second latency value, or the end-to-end latency value.
- Claim 4Depends on #1
The method of claim 1, wherein the computing device includes the display, and the display includes pass-through functionality for a connection type of the input device.
- Claim 5Depends on #1
The method of claim 1, wherein the receiving the latency data comprises receiving a data packet that includes the latency data, the data packet including a data field corresponding to the latency value.
- Claim 6Depends on #5
The method of claim 5, wherein, during configuration of the input device, data representative of a report descriptor corresponding to the input device is received, the report descriptor identifying a location of the data field within the at data packet.
- Claim 7Independent Claim
A method comprising: receiving an input using an input device; generating, using the input device based at least on the receiving the input, a first timestamp corresponding to a time the input is received; sending, using the input device, input data representative of the input to a computing device; based at least on the sending the input data, generating, using the input device, a second timestamp corresponding to a time the input data is received by the computing device; determining, using the input device and based at least on the first timestamp and the second timestamp, a latency between the time the input was received by the input device and the time the input data was received by the computing device; generating, using the input device, a data packet to include a latency value representing the latency; and sending, using the input device, the data packet to the computing device.
- Claim 8Depends on #7
The method of claim 7, wherein the determining the latency includes determining a difference between the first timestamp and the second timestamp, the latency value being equal to the difference.
- Claim 9Depends on #7
The method of claim 7, further comprising: during configuration, sending data representative of a report descriptor, the report descriptor including an indication that at least one individual data packet includes a data field designated for latency values.
- Claim 10Depends on #9
The method of claim 9, wherein the generating the data packet includes populating the data field with latency value.
- Claim 11Depends on #7
The method of claim 7, wherein the latency value is used as one latency component of a plurality of latency components for determining an end-to-end latency of the computing device.
- Claim 12Independent Claim
A system comprising: one or more processing units to: receive a data packet from an input device communicatively coupled to a computing device; retrieve, from the data packet, data indicative of a first latency value associated with an input received at the input device, the first latency value corresponding to a first amount of time between the input being received by the input device and input data representative of the input being received by the computing device; and determine a second latency value corresponding to a second amount of time between the input data being received by the computing device and a display presenting content associated with the input data.
- Claim 13Depends on #12
The system of claim 12, wherein the system is comprised in at least one of: a display device; a control system for an autonomous or semi-autonomous machine; a system for performing simulation operations; a system for performing deep learning operations; a system implemented using an edge device; a system implemented using a robot; a system incorporating one or more virtual machines (VMs); a system implemented at least partially in a data center; or a system implemented at least partially using cloud computing resources.
- Claim 14Depends on #12
The system of claim 12, wherein the one or more processing units are further to: determine an end-to-end latency value based at least on the first latency value and the second latency value.
- Claim 15Depends on #13
The system of claim 13, wherein the one or more processing units are further to display content representative of at least one of the first latency value, the second latency value, or the end-to-end latency value.
- Claim 16Depends on #12
The system of claim 12, wherein the data is retrieved by intercepting the data packet based at least on the data packet being received.
- Claim 17Depends on #12
The system of claim 12, wherein at least one individual data packet received from the input device includes a data field corresponding to the first latency value, and the data is retrieved from an instance of the data field in the at least one data packet.
- Claim 18Depends on #1
The method of claim 1, wherein the latency value is computed by the input device by at least an amount of time elapsed between receiving the input using the input device and transmitting the input data using the input device to the computing device.
- Claim 19Depends on #1
The method of claim 1, wherein the latency value is computed by the input device by at an the amount of time elapsed between receiving the input using the input device, transmitting the input data using the input device to the computing device, and receiving a return signal from the computing device that the input data was successfully received.
- Claim 20Depends on #7
The method of claim 7, wherein the computing device causes a display to present content associated with the input after receiving the input data from the input device.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is related to U.S. Non-Provisional application Ser. No. 16/893,327, filed on Jun. 4, 2020, U.S. Provisional Application No. 63,029,343, filed on May 22, 2020, and U.S. Provisional Application No. 62/970,096, filed on Feb. 4, 2020, each of which is hereby incorporated by reference in its entirety. BACKGROUND As the number of high performance applications increases — such as gaming applications, virtual reality (VR) applications, augmented reality (AR) applications, and/or mixed reality (MR) applications — the performance of computing systems executing these application becomes more critical. For example, to execute a first person shooter (FPS) type game, the computing system — e.g., a gaming console, a personal computer, a cloud gaming system, etc. — should be configured such that end-to-end latency of the system is at a level that provides a positive user experience. To understand and account for latency within a computing system, conventional techniques have implemented systems for measuring a single end-to-end latency value. For example, customized hardware components — such as a high speed camera — may be implemented to detect when an input event occurs (e.g., by detecting an LED light indicator on a peripheral device equipped with the same), when a display event occurs, and to (e.g., manually) calculate a time difference — or latency — between the two. However, this process of end-to-end latency measurement requires specialized equipment — e.g., a high speed camera and a peripheral device with a visual input indicator — while also producing only a single end-to-end latency value. The drawback of a single latency value is that various factors can contribute to the end-to-end latency of a system, such as peripheral latency, application latency, render latency, and/or display latency. As such, without knowing the individual contributions of each of these factors to the end-to-end system latency, it may prove
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (16)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- “
- Video Signal Input Lag Tester,
- ”
- Leo Bodnar Electronics, Retrieved from Internet URL : http://www.leobodnar.com/shop/index.php?main_page=product_info
- &
- products_id=212, accessed on Apr. 17, 2022, pp. 3.
- Antoine, A., et al.,
- “
- Using High Frequency Accelerometer and Mouse to Compensate for End-to-end Latency in Indirect Interaction
- ”