Add function odp_queue_to_u64()

Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org>
---
 include/odp/api/queue.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/include/odp/api/queue.h b/include/odp/api/queue.h
index b63cc34..0b72a5e 100644
--- a/include/odp/api/queue.h
+++ b/include/odp/api/queue.h
@@ -298,6 +298,19 @@ odp_schedule_prio_t odp_queue_sched_prio(odp_queue_t 
queue);
 odp_schedule_group_t odp_queue_sched_group(odp_queue_t queue);
 
 /**
+ * Get printable value for an odp_queue_t
+ *
+ * @param hdl  odp_queue_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_queue_t handle.
+ */
+uint64_t odp_queue_to_u64(odp_queue_t hdl);
+
+/**
  * @}
  */
 
-- 
2.1.0


_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to