time() has too low resolution

time() is of the right entity, but of too low resolution. Using clock
instead works as long as library communicates within one process. Entity of
cock really belongs to the wrong category of time. See issue #2 for details.