Add function odp_event_to_u64() Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org> --- include/odp/api/event.h | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/include/odp/api/event.h b/include/odp/api/event.h index 50c031a..0fdff29 100644 --- a/include/odp/api/event.h +++ b/include/odp/api/event.h @@ -69,6 +69,18 @@ extern "C" { */ int odp_event_type(odp_event_t event); +/** + * Get printable value for an odp_event_t + * + * @param hdl odp_event_t handle to be printed + * @return uint64_t value that can be used to print/display this + * handle + * + * @note This routine is intended to be used for diagnostic purposes + * to enable applications to generate a printable value that represents + * an odp_event_t handle. + */ +uint64_t odp_event_to_u64(odp_event_t hdl); /** * @} -- 2.1.0 _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp