Navigation


Changeset 1071:6ca6cadf209c in freeDiameter for include/freeDiameter/libfdcore.h


Ignore:
Timestamp:
May 2, 2013, 12:22:31 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Implement the fd_stat_getstats function; changed prototype of fd_fifo_length.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfdcore.h

    r1069 r1071  
    10971097 *  stat          : Which queue is being queried
    10981098 *  peer          : (depending on the stat parameter) which peer is being queried
    1099  *  len          : (out) The number of items in the queue currently
    1100  *  max           : (out) The max number of items the queue accepts before becoming blocking -- 0 means no max.
     1099 *  current_count : (out) The number of items in the queue currently
     1100 *  limit_count   : (out) The max number of items the queue accepts before becoming blocking -- 0 means no max.
    11011101 *  highest_count : (out) The highest count the queue has reached since startup
    11021102 *  total_count   : (out) Total number of items that this queue has processed (always growing, use deltas for monitoring)
     
    11141114 */
    11151115int fd_stat_getstats(enum fd_stat_type stat, struct peer_hdr * peer,
    1116                         int * len, int * max, int * highest_count, long long * total_count,
     1116                        int * current_count, int * limit_count, int * highest_count, long long * total_count,
    11171117                        struct timespec * total, struct timespec * blocking, struct timespec * last);
    11181118
Note: See TracChangeset for help on using the changeset viewer.