cuda.c: refactor get_tb() so that the time can be passed in
commiteda14abbb804f8ed2cb903c99ad1852848fa2e42
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 11 Nov 2015 22:49:48 +0000 (11 22:49 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 12 Nov 2015 02:15:55 +0000 (12 13:15 +1100)
tree22f8a176634b5ed0af4fcf1d7705dd2cc79b9195
parentb5ac04103bc3b24042418df1a561096187165fd7
cuda.c: refactor get_tb() so that the time can be passed in

This is in preparation for sharing the code between timers.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/misc/macio/cuda.c