Timing framework improvement

@nkogteva please, review.
FWIW: we never check the return on asprintf as a failure to obtain memory is going to make printing that error output impossible. So I'd suggest just putting a (void) in front of asprintf and removing the check