aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/flatrpc/flatrpc.fbs
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-05-15 15:17:14 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-05-15 15:52:16 +0000
commitef5d53ed7e3c7d30481a88301f680e37a5cc4775 (patch)
treef59c6814c4ca8f496d50db4329b4893e1b5f403d /pkg/flatrpc/flatrpc.fbs
parent8b31dcc161891eb3cdab277e5266ac13b9b2d5dc (diff)
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.
Diffstat (limited to 'pkg/flatrpc/flatrpc.fbs')
-rw-r--r--pkg/flatrpc/flatrpc.fbs8
1 files changed, 2 insertions, 6 deletions
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) {