diff options
author | Jason Evans <jasone@canonware.com> | 2016-02-21 19:25:02 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2016-02-22 05:39:05 (GMT) |
commit | 9bad07903962962de9f656d281b9b1e7e9501c87 (patch) | |
tree | 1468055ff093f7a7d341e739f2b6df4f097f868c /test/unit/math.c | |
parent | 788d29d397574396c4c93bf1f90da59dd7efc5cc (diff) | |
download | jemalloc-9bad07903962962de9f656d281b9b1e7e9501c87.zip jemalloc-9bad07903962962de9f656d281b9b1e7e9501c87.tar.gz jemalloc-9bad07903962962de9f656d281b9b1e7e9501c87.tar.bz2 |
Refactor time_* into nstime_*.
Use a single uint64_t in nstime_t to store nanoseconds rather than using
struct timespec. This reduces fragility around conversions between long
and uint64_t, especially missing casts that only cause problems on
32-bit platforms.
Diffstat (limited to 'test/unit/math.c')
0 files changed, 0 insertions, 0 deletions