mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-14 12:20:00 +01:00
Using getrusage seems toi give not adequate precision, so use clock_gettime and try to scale buffer size a bit on high performance systems. If it still fail, return ERANGE error instead calculating completely unreliable numbers. Should fix Issue#186.
5.8 KiB
5.8 KiB