less trunction error when measuring time

Signed-off-by: Mattias Andrée <maandree@operamail.com>
cleanup and document diffclock

Signed-off-by: Mattias Andrée <maandree@operamail.com>
cleanup include order in vs.cpp

Signed-off-by: Mattias Andrée <maandree@operamail.com>
cleanup and document main

Signed-off-by: Mattias Andrée <maandree@operamail.com>
style + typo + missing brackets

Signed-off-by: Mattias Andrée <maandree@operamail.com>