HomePhabricator

Convert bench.h to fixed-point math

Description

Convert bench.h to fixed-point math

Summary:

  • Use 64-bit integer microsecond timestamps
  • Use fixed-point math for formatting numbers

Then, remove "except in benchmarks" exception from README.md.

This is a backport of libsecp256k1 PR689

Test Plan:

ninja bench-secp256k1

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D5378

Details

Provenance
Wladimir J. van der Laan <laanwj@protonmail.com>Authored on Nov 5 2019, 13:05
deadalnixCommitted on Mar 2 2020, 15:28
deadalnixPushed on Mar 2 2020, 18:23
Reviewer
Restricted Project
Differential Revision
D5378: Convert bench.h to fixed-point math
Parents
rSTAGING30d89966603d: Add SECURITY.md
Branches
Unknown
Tags
Unknown