gecko-dev/mozglue/tests
Gerald Squelart 7f3c9eb118 Bug 1727036 - SpliceableJSONWriter::Time... functions output milliseconds with nanosecond precision - r=mstange
Instead of blindly outputting floating-point numbers of milliseconds, which leads to things like 363.03499999999997, times in ms are now converted to integer number of nanoseconds, stringified, and then manually adjusted to milliseconds again, so we get smaller and friendlier outputs like 363.035.

Eventually, bug 1726675 may change all times to integer number of nanoseconds anyway, but this patch is already helpful in reducing the output, and paves the way by separating the time-output functions from other number outputs.

Differential Revision: https://phabricator.services.mozilla.com/D123329
2021-08-24 21:33:05 +00:00
..
glibc_printf_tests
gtest Bug 1724749: Consolidate all dllservices code; r=tkikuchi 2021-08-12 20:57:12 +00:00
ShowSSEConfig.cpp
TestBaseProfiler.cpp Bug 1727036 - SpliceableJSONWriter::Time... functions output milliseconds with nanosecond precision - r=mstange 2021-08-24 21:33:05 +00:00
TestIntegerPrintfMacros.cpp
TestNativeNt.cpp
TestPEExportSection.cpp Bug 1714212 - Ensure COM initialized prior to showing skeleton UI r=Jamie,aklotz,tkikuchi 2021-07-07 22:37:14 +00:00
TestPrintf.cpp
TestTimeStampWin.cpp
moz.build Bug 1724749: Consolidate all dllservices code; r=tkikuchi 2021-08-12 20:57:12 +00:00