metrics: Fix port iterator after remove

Update the iterator after removing while looping through the hashmap.
Also cleaned up some memory leak issues with string_view.

Also changed to use steady_timer for monotonic time.

Google-Bug-Id: 271869660
Change-Id: I2363bbd451265d0e40ed44e690caab0b2b95fe00
Signed-off-by: Willy Tu <wltu@google.com>
1 file changed
tree: c3b4c29b679c9fba2f9b9dc74bb30be345d63f08
  1. conf/
  2. dynamic-layers/
  3. meta-nuvoton-npcm8xx/
  4. recipes-connectivity/
  5. recipes-core/
  6. recipes-extended/
  7. recipes-google/
  8. recipes-kernel/
  9. recipes-phosphor/
  10. LICENSE
  11. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.