Set the worker state to DONE and notify the manager.
If still in MEASURING, this will merge measurement end with workload end.
Idempotent if already DONE.
Transition to MEASURING state (after warmup, before actual measurement).
Call this after warmup is complete to enable precise timing.
For servers with no warmup, this can be called directly from READY state
(will auto-transition through RUNNING).