Call set_name() on more AOS timers
This makes the AOS timing reports more helpful.
Change-Id: I5f4774f355f7ef7022c8f0effa27e560b5bc26bc
Signed-off-by: James Kuszmaul <james.kuszmaul@bluerivertech.com>
diff --git a/aos/starter/starter_rpc_lib.cc b/aos/starter/starter_rpc_lib.cc
index 891355e..754fc2c 100644
--- a/aos/starter/starter_rpc_lib.cc
+++ b/aos/starter/starter_rpc_lib.cc
@@ -63,6 +63,7 @@
: event_loop_(event_loop),
timeout_timer_(event_loop_->AddTimer([this]() { Timeout(); })),
cmd_sender_(event_loop_->MakeSender<StarterRpc>("/aos")) {
+ timeout_timer_->set_name("rpc_timeout");
if (configuration::MultiNode(event_loop_->configuration())) {
for (const aos::Node *node :
configuration::GetNodes(event_loop_->configuration())) {