From ceaf7ddda2fb281b9afe3af812160afffa1b594f Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 27 Mar 2024 18:44:06 +0100 Subject: syz-manager: collect more stats about exchange calls Collect total number of calls, average number of requested progs, average server latency, and average end-to-end latency. --- pkg/rpctype/rpctype.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg') diff --git a/pkg/rpctype/rpctype.go b/pkg/rpctype/rpctype.go index cb50ecfa6..b31f9ec96 100644 --- a/pkg/rpctype/rpctype.go +++ b/pkg/rpctype/rpctype.go @@ -7,6 +7,7 @@ package rpctype import ( "math" + "time" "github.com/google/syzkaller/pkg/host" "github.com/google/syzkaller/pkg/ipc" @@ -45,6 +46,7 @@ type ExchangeInfoRequest struct { NeedProgs int StatsDelta map[string]uint64 Results []ExecutionResult + Latency time.Duration // latency of the previous ExchangeInfo request } // ExchangeInfoReply is a reply to ExchangeInfoRequest. -- cgit mrf-deployment