Files
asterisk/main
David M. Lee 40caf0ad9b Replaces clock_gettime() with ast_tsnow()
clock_gettime() is, unfortunately, not portable. But I did like that
over our usual `ts.tv_nsec = tv.tv_usec * 1000` copy/paste code we
usually do when we want a timespec and all we have is ast_tvnow().

This patch adds ast_tsnow(), which mimics ast_tvnow(), but returns a
timespec. If clock_gettime() is available, it will use that. Otherwise
ast_tsnow() falls back to using ast_tvnow().

Change-Id: Ibb1ee67ccf4826b9b76d5a5eb62e90b29b6c456e
2015-08-07 19:35:13 -05:00
..
2015-04-12 07:12:45 -04:00
2015-06-05 11:23:16 -05:00
2015-06-05 02:17:59 -05:00
2012-03-22 19:51:16 +00:00
2015-06-10 18:06:15 -05:00
2015-07-07 21:31:49 -05:00
2012-03-22 19:51:16 +00:00
2012-06-15 16:20:16 +00:00
2015-07-12 20:44:16 -05:00
2015-06-08 09:44:04 -05:00
2012-09-21 17:14:59 +00:00
2015-06-08 09:44:04 -05:00