[System Monitor] Fix samples used and crash

This CL changes which samples are used in a given GUI column. The
prior math was inclusive on both ends; the new math is exclusive on
the later value. This means that samples that were on the boundary
between two columns where counted in both columns. Now they are no
longer being double counted.

Second, this CL checks against failing to find the *any* samples in
a range, which could lead to a crash.

Test: garnet/lib/system_monitor/dockyard/dockyard_unittests.cc
Change-Id: I8d7f686c4236e75e5e6628d9420148a4601d7fbd
3 files changed
tree: 9bd2615390592bf671810bc2dfd2cf58260250b9
  1. boards/
  2. build/
  3. buildtools/
  4. bundles/
  5. docs/
  6. garnet/
  7. peridot/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. zircon/
  13. .clang-format
  14. .dir-locals.el
  15. .gitattributes
  16. .gitignore
  17. AUTHORS
  18. CODE_OF_CONDUCT.md
  19. CONTRIBUTING.md
  20. LICENSE
  21. OWNERS
  22. PATENTS
  23. README.md
  24. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See the documentation.