diff options
author | Matias Elo <matias.elo@nokia.com> | 2018-08-01 09:05:39 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2018-11-28 17:16:38 +0300 |
commit | 9cd5b915b1b65e4e5fc83dedf9afa7029f1d3274 (patch) | |
tree | ca901dc9ecf3886a0e5b4c053f3caecdcd3aa924 /include/odp/api/spec/timer.h | |
parent | 6afbe90158988dc36e25b1954fe1fe9124ae7df1 (diff) |
api: timer: add timer pool capabilities
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed by Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Petri Savolainen <petri.savolainen@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'include/odp/api/spec/timer.h')
-rw-r--r-- | include/odp/api/spec/timer.h | 16 |
1 files changed, 16 insertions, 0 deletions
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. |