Searched refs:parent_metrics (Results 1 – 2 of 2) sorted by relevance
127 Gyro(I2cBus& i2c_bus, Group& parent_metrics) : i2c_bus_(i2c_bus) { in Gyro() argument131 parent_metrics.Add(metrics_); in Gyro()
445 Group& parent_metrics)448 // PROBLEM! parent_metrics may not be constructed if it's a reference450 parent_metrics.Add(tx_bytes_);451 parent_metrics.Add(rx_bytes_);473 However, this **is incorrect**, since the ``parent_metrics`` (pointing to497 // Precondition: parent_metrics is already constructed.498 void Init(Group& parent_metrics) {499 parent_metrics.Add(tx_bytes_);500 parent_metrics.Add(rx_bytes_);