summaryrefslogtreecommitdiffstats
path: root/test/unit/math.c
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-02-21 19:25:02 (GMT)
committerJason Evans <jasone@canonware.com>2016-02-22 05:39:05 (GMT)
commit9bad07903962962de9f656d281b9b1e7e9501c87 (patch)
tree1468055ff093f7a7d341e739f2b6df4f097f868c /test/unit/math.c
parent788d29d397574396c4c93bf1f90da59dd7efc5cc (diff)
downloadjemalloc-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