google / benchmark

A microbenchmark support library
Apache License 2.0
8.93k stars 1.61k forks source link

Refactor: Return frequency as double #1782

Closed dhairyarungta closed 5 months ago

dhairyarungta commented 5 months ago

Adjusted the GetSysctl call in sysinfo.cc to ensure the frequency value is returned as a double rather than an integer.

Fixes https://github.com/google/benchmark/issues/1781.

google-cla[bot] commented 5 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

LebedevRI commented 5 months ago

Looks right, but you'll need to deal with that CLA issue i'm afraid.

dhairyarungta commented 5 months ago

CLA check done.