Use CLOCK_MONOTONIC for serialization time as well.