amiga_drag_measure
Measures how reliably a window follows dragging by its title bar, recording per-step frame timing, median, p95 and max delays, and steps where the window failed to move.
Instructions
Measure how smoothly a window follows when it is dragged by its title bar.
amigentd drags it itself, at priority 21 above input.device: zigzag (8 steps one way, 8 back) or jumps (4 steps' worth each way in turn), steps of step pixels, and records each frame: time per step, how long input.device took the event, where the window and the pointer are. Shows median, p95 and max ms per step and the steps the window did not move. window is part of its title or its id from amiga_ui_tree; it must be on the front screen with its title bar uncovered. It ends where it started. Needs amigentd 1.4.0.
machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"window": "<window>"
},
"name": "amiga_drag_measure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | No | ||
| steps | No | ||
| window | Yes | ||
| machine | No | ||
| pattern | No | zigzag |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |