* returns the elapsed time in full milliseconds for a time stamp delta has * enough accuracy for a couple of seconds */
| 60 | * enough accuracy for a couple of seconds |
| 61 | */ |
| 62 | uint32_t get_milliseconds(int64_t diff) { |
| 63 | return uint32_t(((double)diff)/1000); |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | struct Tutorial : public TutorialApplication |