This is a function to compute a timing according to GTF. Signed-off-by: Simon Ser <contact@emersion.fr>