Navigation


Changeset 1067:23989d6c8390 in freeDiameter for include/freeDiameter/libfdcore.h


Ignore:
Timestamp:
Apr 30, 2013, 10:51:09 AM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Add total count in the statistics of the queues, thanks for the feedback :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfdcore.h

    r1063 r1067  
    10261026 *  max           : (out) The max number of items the queue accepts before becoming blocking -- 0 means no max.
    10271027 *  highest_count : (out) The highest count the queue has reached since startup
     1028 *  total_count   : (out) Total number of items that this queue has processed (always growing, use deltas for monitoring)
    10281029 *  total         : (out) Cumulated time all items spent in this queue, including blocking time (always growing, use deltas for monitoring)
    10291030 *  blocking      : (out) Cumulated time threads trying to post new items were blocked (queue full).
     
    10391040 */
    10401041int fd_stat_getstats(enum fd_stat_type stat, struct peer_hdr * peer,
    1041                         int * len, int * max, int * highest_count,
     1042                        int * len, int * max, int * highest_count, long long * total_count,
    10421043                        struct timespec * total, struct timespec * blocking, struct timespec * last);
    10431044
Note: See TracChangeset for help on using the changeset viewer.