diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-09-14 03:35:12 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-09-14 15:05:29 +0300 |
commit | 98dff063f2f497434978a46f9a676307365fd878 (patch) | |
tree | 2dae2d556b855009a733f2fea1b591ea224b12a4 /test/media_device/media_device_print_test.cpp | |
parent | 304574420d0dd5949e73df9e238eb136a21af1a3 (diff) |
libcamera: utils: Add clock helpers
In preparation for standardisation of the std::chrono::steady_clock as
the libcamera default clock, define aliases for the clock, duration and
time point, and add helper functions to convert a duration to a timespec
and a time point to a string. More helpers will be added later as
needed.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/media_device/media_device_print_test.cpp')
0 files changed, 0 insertions, 0 deletions