[threads] add ability to get current timer res value
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>