Commit Graph

13 Commits

Author SHA1 Message Date
096366ead5 Common: improve native clock. 2022-06-28 01:06:48 +02:00
99ceb03a1c general: Convert source file copyright comments over to SPDX
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-04-23 05:55:32 -04:00
866b7c20a8 general: Fix clang/gcc build errors 2022-03-20 02:25:09 -04:00
923decae5a common: Reduce unused includes 2022-03-19 15:01:31 -04:00
3acb265c9e common: wall_clock: Fix integer overflow with StandardWallClock.
- Previous optimized impl. resulted in an integer overflow, so revert.
- This is our slow/fallback path that should never be really be used, so the optimization in unimportant.
2021-02-19 18:04:23 -08:00
0a91599aec common: Merge uint128 to a single header file with inlines. 2021-02-15 14:46:04 -08:00
df72480395 common: Make use of [[nodiscard]] where applicable
Now that clang-format makes [[nodiscard]] attributes format sensibly, we
can apply them to several functions within the common library to allow
the compiler to complain about any misuses of the functions.
2020-08-15 17:17:52 -04:00
e3524d1142 Common: Refactor & Document Wall clock. 2020-06-18 16:29:18 -04:00
f2c41ba256 common/uint128: Add missing header guard 2019-03-20 22:39:00 -04:00
b0d70096a1 common/uint128: Add missing top-file source text 2019-03-20 22:38:25 -04:00
a8d4927e29 Corrections, documenting and fixes. 2019-02-16 16:52:24 -04:00
ecccfe0337 Use u128 on Clock Cycles calculation. 2019-02-15 22:57:16 -04:00
3ea48e8ebe Implement 128 bits Unsigned Integer Multiplication and Division. 2019-02-15 22:55:31 -04:00