Home
last modified time | relevance | path

Searched refs:parent_metrics (Results 1 – 2 of 2) sorted by relevance

/external/pigweed/pw_metric/
Dmetric_test.cc127 Gyro(I2cBus& i2c_bus, Group& parent_metrics) : i2c_bus_(i2c_bus) { in Gyro() argument
131 parent_metrics.Add(metrics_); in Gyro()
Ddocs.rst445 Group& parent_metrics)
448 // PROBLEM! parent_metrics may not be constructed if it's a reference
450 parent_metrics.Add(tx_bytes_);
451 parent_metrics.Add(rx_bytes_);
473 However, this **is incorrect**, since the ``parent_metrics`` (pointing to
497 // Precondition: parent_metrics is already constructed.
498 void Init(Group& parent_metrics) {
499 parent_metrics.Add(tx_bytes_);
500 parent_metrics.Add(rx_bytes_);