]> git.openfabrics.org - ~shefty/ibacm.git/commit
ibacm/prov: export a function to increment performance counters
authorKaike Wan <kaike.wan@intel.com>
Fri, 20 Jun 2014 15:55:23 +0000 (08:55 -0700)
committerSean Hefty <sean.hefty@intel.com>
Fri, 20 Jun 2014 15:55:23 +0000 (08:55 -0700)
commitb3d217ff41f3331d831a831a701fbf489d1f0e5d
tree35fd60e5ad8d8c58e2774173414af34ecd73c204
parentb0e500b5b2768b0176c2724a0925043d97886d23
ibacm/prov: export a function to increment performance counters

Instead of exposing the combined counters directly, this patch exports a
function to providers to increment the combined counters. This offers better
encapsulation and avoids exposing the private type atomic_t.

Signed-off-by: Kaike Wan <kaike.wan@intel.com>
include/infiniband/acm_prov.h
prov/acmp/src/acmp.c
src/acm.c