Use steady clock for all millis bench logging #25499

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2206-steady-🏑 changing 8 files +18 −20
  1. MarcoFalke commented at 7:48 AM on June 29, 2022: member

    Currently GetTimeMillis is used for bench logging in milliseconds integral precision. Replace it to use a steady clock that is type-safe and steady.

    Microsecond or float precision can be done in a follow-up.

  2. DrahtBot added the label Refactoring on Jun 29, 2022
  3. DrahtBot commented at 11:56 AM on June 29, 2022: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #25830 (refactor: Replace m_params with chainman.GetParams() by aureleoules)
    • #25665 (refactor: Add util::Result failure values, multiple error and warning messages by ryanofsky)
    • #25284 ([WIP] consensus: Remove dependency on net (BIP 155 / ADDRV2_FORMAT) by MarcoFalke)
    • #18904 (Don't call lsn_reset in periodic flush by bvbfan)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  4. MarcoFalke cross-referenced this on Jun 29, 2022 from issue [kernel 3b/n] Decouple `{Dump,Load}Mempool` from `ArgsManager` by dongcarl
  5. DrahtBot cross-referenced this on Jun 29, 2022 from issue refactor: Reduce number of LoadChainstate parameters and return values by ryanofsky
  6. DrahtBot cross-referenced this on Jun 29, 2022 from issue net: Use serialization parameters for CAddress serialization by MarcoFalke
  7. DrahtBot cross-referenced this on Jun 30, 2022 from issue Don't call lsn_reset in periodic flush by bvbfan
  8. DrahtBot cross-referenced this on Jun 30, 2022 from issue Improve runtime performance of --reindex by LarryRuane
  9. DrahtBot cross-referenced this on Jun 30, 2022 from issue Severity-based logging -- parent PR by jonatack
  10. DrahtBot cross-referenced this on Jul 8, 2022 from issue refactor: Make mapBlocksUnknownParent local, and rename it by LarryRuane
  11. MarcoFalke force-pushed on Jul 19, 2022
  12. DrahtBot added the label Needs rebase on Jul 20, 2022
  13. MarcoFalke force-pushed on Jul 20, 2022
  14. DrahtBot removed the label Needs rebase on Jul 20, 2022
  15. DrahtBot cross-referenced this on Jul 21, 2022 from issue refactor: Add util::Result failure values, multiple error and warning messages by ryanofsky
  16. DrahtBot cross-referenced this on Jul 27, 2022 from issue refactor: Use util::Result class for wallet loading by ryanofsky
  17. DrahtBot cross-referenced this on Jul 27, 2022 from issue refactor: Replace BResult with util::Result by ryanofsky
  18. DrahtBot added the label Needs rebase on Jul 29, 2022
  19. Use steady clock for all millis bench logging fa521c9603
  20. MarcoFalke force-pushed on Jul 30, 2022
  21. DrahtBot removed the label Needs rebase on Jul 30, 2022
  22. DrahtBot cross-referenced this on Aug 13, 2022 from issue refactor: Replace m_params with chainman.GetParams() by aureleoules
  23. MarcoFalke cross-referenced this on Aug 18, 2022 from issue refactor: Make adjusted time type safe by MarcoFalke
  24. DrahtBot cross-referenced this on Sep 1, 2022 from issue refactor: Replace `std::optional<bilingual_str>` with `util::Result` by ryanofsky
  25. fanquake approved
  26. fanquake commented at 9:26 AM on September 16, 2022: member

    ACK fa521c960337a65d4ce12cd1ef009c652ffe57e6 - started making the same change.

  27. fanquake merged this on Sep 16, 2022
  28. fanquake closed this on Sep 16, 2022

  29. MarcoFalke deleted the branch on Sep 16, 2022
  30. sidhujag referenced this in commit 335124cf84 on Sep 20, 2022
  31. bitcoin locked this on Sep 16, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:53 UTC