Skip to content

Include prefilled commands in reported queue time - #9

Open
xia-chao wants to merge 1 commit into
mainfrom
fix/include-prefilled-queue-time
Open

xia-chao wants to merge 1 commit into
mainfrom
fix/include-prefilled-queue-time

Conversation

@xia-chao

Copy link
Copy Markdown
Contributor

Changes

  • Count the head command when the queue is prefilled and has not started. Skip it once execution starts, since it is then the active command.
  • Apply the same rule to ticksInQueue() and hasTicksInQueue().

Validation

  • Reproduced both symptoms on the Linux host simulator. A prefilled 6,400-tick move reported zero ticks and did not meet its duration threshold.
  • Verified the corrected duration and threshold with a prefilled move, a queued pause, and a started queue. All 32 host tests passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant