A host on an edge AI device may return from an inference call before the accelerator finishes. Entry-to-return timing can measure submission overhead without including execution or the point at which the application can use the result. A stable reference oscillator does not make these boundaries equivalent. Ask suppliers to quote like-for-like intervals.
The examples use synthetic offline logs for purchasing and engineering review. They require no network requests, production scheduling or hardware changes, or measurement code on deployed systems. The figures do not specify a product.
Give every completion point a name
Identify input availability, host submission, device start, device finish and result availability. A quick return can show that one layer accepted a request or completed submission. It does not show queue length, when the device started, or when output reached its consumer. Some operations explicitly or implicitly wait and some libraries include preparation. Verify the actual boundary.
Device events can bracket an operation or an entire execution chain in one stream. The measured elapsed interval need not be exclusive core execution if work overlaps or resources are shared. Record the event placement, completion status and execution stream. The device interval does not capture all application waits.
Measure end-to-end latency on one time base, or with a known mapping, through the project-defined point of use. A created output buffer and a new bounding box ready to display are different endpoints. Converting identically to milliseconds cannot align unrelated epochs.
One request can take 0.3 ms, 4.5 ms and 8 ms at different boundaries
Assume the input image is available at host time 0 ms. Host submission runs from 0 to 0.3 ms, when the call returns. On this modeled timeline, with a known host-to-device mapping, device work begins at 2 ms and ends at 6.5 ms. Data movement and parsing finish by 8 ms, when the application can read the result.
Host submission takes 0.3 ms. The device events bracket 6.5 − 2 = 4.5 ms. Result availability takes 8 − 0 = 8 ms. For an end-to-end limit of 5 ms, neither of the shorter compliant intervals establishes a pass. Comparing the same boundaries explains why both reports can be accurate before any performance change.
If a later version returns from the call at 1.5 ms but the device still starts at 2 ms and finishes at 6.5 ms and the app reads the result at 8 ms, submission is 1.2 ms slower and end-to-end latency is unchanged. Stable device time can still coexist with longer queues or conversion. Do not add intervals without checking dependencies and overlap for the same request.
Match the host, device and result records for each request
Use controlled identifiers and distinguish retries or execution rounds without including private inputs. A next-frame completion cannot be subtracted from an earlier frame's start. Report the three intervals independently and mark a missing interval unmeasured.
The host monotonic clock and device event source can both be stable but have distinct epochs. Explain how a combined timeline was mapped and its uncertainty. Otherwise retain each domain's intervals and use reliable same-side endpoints for overall comparisons. Event ordering alone does not give sub-millisecond cross-domain accuracy.
Specify idle, warmed-up or concurrent load, input size, where output is actually materialized, sampling window and whether unfinished requests were excluded. Forcing serialization to collect timing can change normal overlap. The resulting device interval may be usable even when it does not represent ordinary concurrent latency.
Specify the contract's start, end and computation boundary
Request submissions, device times and business-visible latency under matched inputs and load. Define whether completion means the first box, all boxes or a confirmed final response. Distinguish nominal values, typical planning figures and a guaranteed range. An average speedup with no load or endpoints is not a batch acceptance criterion.
For custom hardware needing a 100 MHz LVDS reference, evaluate a candidate in the Tai-Saw OO-U series. Confirm supply, differential format, jitter conditions, load, clock tree and complete ordering requirements. The circuit determines which interface or domain it serves. It need not be the accelerator's internal timer. Require separate timing and oscillator evidence.
Frequently asked questions
Does host return time have any value? It measures host overhead or blocking if the call boundary is explicit. It does not measure consumption of the inference result.
Which is wrong when device elapsed time is shorter than overall latency? Both can be correct. First align request IDs, configurations, measurement boundaries and time domains.
Can the accelerator clock be inferred from the nominal oscillator frequency? The reference and internal operating clock can differ. Identify the actual clock path and the relevant application interval.
