From ef5d53ed7e3c7d30481a88301f680e37a5cc4775 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 15 May 2024 15:17:14 +0200 Subject: pkg/flatrpc: move wait stats into start executing message It will be much simpler to return wait time in start executing message. Then we don't need a separate message and don't need the count. --- pkg/flatrpc/flatrpc.fbs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'pkg/flatrpc/flatrpc.fbs') diff --git a/pkg/flatrpc/flatrpc.fbs b/pkg/flatrpc/flatrpc.fbs index 01cd8190d..20ee1893b 100644 --- a/pkg/flatrpc/flatrpc.fbs +++ b/pkg/flatrpc/flatrpc.fbs @@ -86,7 +86,6 @@ table HostMessageRaw { union ExecutorMessagesRaw { ExecResult :ExecResultRaw, Executing :ExecutingMessageRaw, - Stats :StatsMessageRaw, } table ExecutorMessageRaw { @@ -163,11 +162,8 @@ table ExecutingMessageRaw { id :int64; proc_id :int32; try :int32; -} - -table StatsMessageRaw { - noexec_count :int64; - noexec_duration :int64; + // How long proc waited to receive the request (ns). + wait_duration :int64; } enum CallFlag : uint8 (bit_flags) { -- cgit mrf-deployment