From: Matias Elo <matias....@nokia.com>

Signed-off-by: Matias Elo <matias....@nokia.com>
---
/** Email created from pull request 664 (matiaselo:dev/timer_pool_capability)
 ** https://github.com/Linaro/odp/pull/664
 ** Patch: https://github.com/Linaro/odp/pull/664.patch
 ** Base sha: 9b2b5a9695ad66977c964c83691cd2fef4c45b85
 ** Merge commit sha: 27aa8cc28e9bd9a6bc424ea24283545eeef5bfa5
 **/
 include/odp/api/spec/timer.h | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/include/odp/api/spec/timer.h b/include/odp/api/spec/timer.h
index d88faaaea..c5c85514f 100644
--- a/include/odp/api/spec/timer.h
+++ b/include/odp/api/spec/timer.h
@@ -135,6 +135,22 @@ typedef struct {
  * Timer capability
  */
 typedef struct {
+       /** Maximum number of timer pools over all clock sources
+        *
+        * The total number of timer pools that can be created combining
+        * different clock sources.
+        */
+       uint32_t max_pools_combined;
+
+       /** Maximum number of timer pools for the requested clock source */
+       uint32_t max_pools;
+
+       /** Maximum number of timers in a pool
+        *
+        * The value of zero means that limited only by the available
+        * memory size for the pool. */
+       uint32_t max_timers;
+
        /** Highest timer resolution in nanoseconds.
         *
         *  This defines the highest resolution supported by a timer.

Reply via email to