diff options
author | Matias Elo <matias.elo@nokia.com> | 2023-04-24 14:21:44 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2023-06-09 09:50:02 +0300 |
commit | 21cf3a5de605c8217550d3de366307ef50b3e63d (patch) | |
tree | 0fcc2fad83d3ce4483dd1b8d42de69914d6e6673 /include | |
parent | e7bfbcf25a7ad64755f0e00d860e005f5b5afbb1 (diff) |
api: pool: relax odp_pool_stats() specification
Relax odp_pool_stats() specification to allow implementations to have some
delay until pool statistics are updated. This is required by some HW
statistics counters.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Ashwin Sekhar T K <asekhar@marvell.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/odp/api/spec/pool.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/odp/api/spec/pool.h b/include/odp/api/spec/pool.h index a72dcd3af..000454c25 100644 --- a/include/odp/api/spec/pool.h +++ b/include/odp/api/spec/pool.h @@ -158,8 +158,9 @@ int odp_pool_index(odp_pool_t pool); /** * Get statistics for pool handle * - * Read the statistics counters enabled using odp_pool_stats_opt_t during pool - * creation. The inactive counters are set to zero by the implementation. + * Read the statistics counters enabled using odp_pool_stats_opt_t during pool creation. The + * inactive counters are set to zero by the implementation. Depending on the implementation, there + * may be some delay until performed pool operations are visible in the statistics. * * A single call may read statistics from one to ODP_POOL_MAX_THREAD_STATS * threads. Set 'stats.thread.first' and 'stats.thread.last' to select the |