Live mode: optional timing of each request (QET_LIVE_PERF_LOG)

A request with "timing": true gets queue, confirm and exec times in its
answer; with QET_LIVE_PERF_LOG set, QElectroTech also appends one JSON
line per request, with the time until the folio is next painted. The
qet MCP server logs its side of each live call to the same file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ispyisail
2026-10-05 18:32:42 +13:00
parent ecf995174e
commit e77a175fc9
3 changed files with 143 additions and 5 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ class LiveServer : public QObject
void setState(State state);
void newConnection();
void readClient();
void handle(const QJsonObject &request);
void handle(const QJsonObject &request, qint64 received_ns);
void send(const QJsonObject &answer);
QJsonObject status();
QJsonObject runScript(const QString &name, const QString &source);