|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
A server with the state tools and a stalls source, and the stall events it reports. More...
Protected Member Functions | |
| void | SetUp () override |
| Installs the tools and the stalls source. | |
| Event | blockAndReport (int ms) |
Blocks the main thread for ms, then lets the stall be reported; returns the stall event, or an empty one. | |
Protected Attributes | |
| Server | server |
| The server under test. | |
| StallEventSource * | stalls = nullptr |
| Its stalls source (the server owns it). | |
| QList< Event > | events |
| The stall events reported. | |
| QString | name |
| The local socket's name. | |
A server with the state tools and a stalls source, and the stall events it reports.
A block of B ms shows as a stall of B - 100 to B ms: the source measures how late its 100 ms tick is, and the block may begin anywhere between two ticks. The threshold leaves room for that on both sides.