[igt-dev] [PATCH i-g-t 4/4] HAX: Print ping times to stderr
Petri Latvala
petri.latvala at intel.com
Mon Sep 9 11:38:09 UTC 2019
---
runner/executor.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/runner/executor.c b/runner/executor.c
index 5ed191f9..1d636884 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -210,8 +210,12 @@ static bool can_ping(void)
PING_INFO_LATENCY,
&latency,
&len);
- if (latency >= 0.0)
+ if (latency >= 0.0) {
+ fprintf(stderr,
+ "ping: Successful ping response in %f seconds\n",
+ latency);
return true;
+ }
}
}
--
2.19.1
More information about the igt-dev
mailing list