Files
OpenCellular/include
Simon Glass 6d04819930 Add time_since32() to return microseconds since a start time
It is useful to implement timeouts like this:

start = get_time();
while (time_since32(start) < 1000)
   ...

Add a function to make this easy. Note that for efficiency we only
support a 32-bit return value which limits the timeouts to about an
hour.

BUG=chrome-os-partner:10888
TEST=manual:
build for all boards
boot on snow

Change-Id: I200cb04f5a76b4c76a9bc314d927e4bab1f08a56
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/26289
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2012-06-28 17:06:46 -07:00
..
2012-04-19 13:08:58 -07:00
2012-04-19 11:08:28 -07:00
2012-04-19 11:08:28 -07:00
2012-04-24 09:59:31 -07:00
2012-06-25 15:37:42 -07:00
2011-12-07 19:10:02 +00:00
2012-04-10 14:09:40 -07:00
2012-05-15 18:34:50 -07:00
2012-05-17 12:22:39 -07:00
2012-05-31 15:03:17 -07:00
2012-01-11 11:37:55 -08:00
2012-06-26 17:01:52 -07:00
2012-06-07 09:59:55 -07:00
2011-12-07 19:10:02 +00:00
2012-06-22 11:12:40 -07:00
2012-04-19 13:08:58 -07:00
2012-06-26 18:15:35 -07:00
2012-04-19 11:08:28 -07:00
2012-06-26 17:01:52 -07:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2012-05-30 13:12:34 -07:00
2012-06-20 23:30:02 -07:00
2012-04-06 09:06:53 -07:00
2012-06-22 10:13:36 -07:00
2012-04-24 17:46:54 -07:00