[roll third_party/pigweed] pw_chrono: Adds SystemClock helper to compute deadlines

Adds SystemClock::TimePointAfterAtLeast to compute the nearest
time_point after the specified duration has fully elapsed.

This adds in a single tick to handle the partial tick problem
where for example a timeout of 1 tick can result in anything from
non-blocking to the actual requested tick [0,1]. Instead this
adds a singular tick resulting in at most 1 added tick where the
timeout is instead [1,2].

No-Docs-Update-Reason: Trivial helper, full docs are coming soon.
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/42934

third_party/pigweed Rolled-Commits: 4298fd053ea27cb..5dbe3c6379d5712
Roller-URL: https://ci.chromium.org/b/8848510395374037136
Cq-Cl-Tag: roller-builder:pigweed-experimental-roller
Cq-Cl-Tag: roller-bid:8848510395374037136
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: Ic6a7fb841e84f01b5dc695c02cede6a56157a90e
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/43140
Reviewed-by: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
1 file changed
tree: d8bce9313df713872feb8901ca02f3fbf9618fae
  1. applications/
  2. build_overrides/
  3. pw_board_led/
  4. pw_board_led_arduino/
  5. pw_board_led_host/
  6. pw_board_led_stm32cubef4/
  7. pw_board_led_stm32f429i_disc1/
  8. pw_console/
  9. pw_spin_delay/
  10. pw_spin_delay_arduino/
  11. pw_spin_delay_host/
  12. pw_spin_delay_stm32cubef4/
  13. pw_spin_delay_stm32f429i_disc1/
  14. pw_sys_io_stm32cubef4/
  15. targets/
  16. third_party/
  17. tools/
  18. .gitattributes
  19. .gitignore
  20. .gitmodules
  21. .gn
  22. activate.bat
  23. banner.txt
  24. bootstrap.bat
  25. bootstrap.sh
  26. BUILD.gn
  27. BUILDCONFIG.gn
  28. env_setup.json
  29. navbar.md
  30. PW_PLUGINS
  31. README.md
README.md

Pigweed Experimental

This repository contains experimental pigweed modules.

Repository setup

Clone this repo with --recursive to get all required submodules.

git clone --recursive https://pigweed.googlesource.com/pigweed/experimental

This will pull the Pigweed source repository into third_party/pigweed. If you already cloned but forgot to --recursive run git submodule update --init to pull all submodules.