VTIM_real vs VTIM_mono / double vs uint64_t

Nils Goroll slink at schokola.de
Thu Apr 7 13:28:26 CEST 2016


Hi,

@Martin, thanks for the VDSO explanations - I knew about this but was not
up-to-date: because I had once worked on an issue where Linux _did_ syscall for
clock_gettime, I was surprised to see that my machine doesn't. But my remark on
this list was superfluous.

On 07/04/16 12:16, Poul-Henning Kamp wrote:
>> Will still be some
>> memory reads though, so something based around the Intel in-chip clock
> 
> There is no such thing as the "Intel in-chip clock".

I think martin was referring to the TSC.

> And we'll only be using clock_gettime() or gettimeofday(), and leave
> the hardware frobbing to the OS.

I do fully support this decision now.

Nils



More information about the varnish-dev mailing list