Re: [lng-odp] [RFC API-NEXT PATCH] timer: Add missing platform handles to u64 conversion functions

2015-04-20 Thread Savolainen, Petri (Nokia - FI/Espoo)
This OK, but you need to send another patch without "RFC". With that change,

Reviewed-by: Petri Savolainen 


> -Original Message-
> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of ext
> Jerin Jacob
> Sent: Monday, April 20, 2015 11:53 AM
> To: lng-odp@lists.linaro.org
> Subject: [lng-odp] [RFC API-NEXT PATCH] timer: Add missing platform
> handles to u64 conversion functions
> 
> Signed-off-by: Jerin Jacob 
> ---
>  include/odp/api/timer.h | 39 +++
>  1 file changed, 39 insertions(+)
> 
> diff --git a/include/odp/api/timer.h b/include/odp/api/timer.h
> index 0dc9415..435c004 100644
> --- a/include/odp/api/timer.h
> +++ b/include/odp/api/timer.h
> @@ -366,6 +366,45 @@ odp_timeout_t odp_timeout_alloc(odp_pool_t pool);
>  void odp_timeout_free(odp_timeout_t tmo);
> 
>  /**
> + * Get printable value for an odp_timer_pool_t
> + *
> + * @param hdl  odp_timer_pool_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_timer_pool_t handle.
> + */
> +uint64_t odp_timer_pool_to_u64(odp_timer_pool_t hdl);
> +
> +/**
> + * Get printable value for an odp_timer_t
> + *
> + * @param hdl  odp_timer_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_timer_t handle.
> + */
> +uint64_t odp_timer_to_u64(odp_timer_t hdl);
> +
> +/**
> + * Get printable value for an odp_timeout_t
> + *
> + * @param hdl  odp_timeout_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_timeout_t handle.
> + */
> +uint64_t odp_timeout_to_u64(odp_timeout_t hdl);
> +
> +/**
>   * @}
>   */
> 
> --
> 2.1.0
> 
> ___
> lng-odp mailing list
> lng-odp@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp
___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


[lng-odp] [RFC API-NEXT PATCH] timer: Add missing platform handles to u64 conversion functions

2015-04-20 Thread Jerin Jacob
Signed-off-by: Jerin Jacob 
---
 include/odp/api/timer.h | 39 +++
 1 file changed, 39 insertions(+)

diff --git a/include/odp/api/timer.h b/include/odp/api/timer.h
index 0dc9415..435c004 100644
--- a/include/odp/api/timer.h
+++ b/include/odp/api/timer.h
@@ -366,6 +366,45 @@ odp_timeout_t odp_timeout_alloc(odp_pool_t pool);
 void odp_timeout_free(odp_timeout_t tmo);
 
 /**
+ * Get printable value for an odp_timer_pool_t
+ *
+ * @param hdl  odp_timer_pool_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_timer_pool_t handle.
+ */
+uint64_t odp_timer_pool_to_u64(odp_timer_pool_t hdl);
+
+/**
+ * Get printable value for an odp_timer_t
+ *
+ * @param hdl  odp_timer_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_timer_t handle.
+ */
+uint64_t odp_timer_to_u64(odp_timer_t hdl);
+
+/**
+ * Get printable value for an odp_timeout_t
+ *
+ * @param hdl  odp_timeout_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_timeout_t handle.
+ */
+uint64_t odp_timeout_to_u64(odp_timeout_t hdl);
+
+/**
  * @}
  */
 
-- 
2.1.0

___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp