commit | 914205ca85a2e941a2b0e0dc11bcf8cf34930efc | [log] [tgz] |
---|---|---|
author | Andy Ross <andrew.j.ross@intel.com> | Tue Mar 10 15:26:38 2020 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Mar 31 19:40:47 2020 -0400 |
tree | f0522ad26c207f167e4e8765e742ebf7204ca1da | |
parent | 5a5d3daf6f16d48917d9c113089687a67ab85d1f [diff] |
kernel/timeout: Add k_uptime_ticks() API Add a call to get the system tick count as an official API (and redefine the existing millisecond API in terms of it). Sophisticated applications need to be able to count ticks directly, and the newer timeout API supports that. Uptime should too, for symmetry. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>