mirror of
https://github.com/logos-messaging/nim-ffi.git
synced 2026-08-05 06:23:19 +00:00
Update tests/perf/benchlib/perfbench.nim
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
a50df01e4b
commit
ed2285c23b
@ -83,7 +83,9 @@ proc perfbenchTriggerPing*(
|
||||
## inside a single clock domain.
|
||||
for i in 0 ..< req.count:
|
||||
onPerfPing(
|
||||
PerfPingEvent(seqNo: i, stampNs: req.stampNs, data: newSeq[byte](req.payloadBytes))
|
||||
PerfPingEvent(
|
||||
seqNo: i, stampNs: req.stampNs, data: newSeq[byte](req.payloadBytes)
|
||||
)
|
||||
)
|
||||
return ok(TriggerPingResponse(emitted: req.count))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user