83d82
< #define MAX_FLOWS 2500
115,146d113
< struct detailedStatType {
<    long p_arr;     // packets arrived
<    long p_enq;     // packets enqueued
<    long p_deq;     // packets dequeued
<    long p_mark;    // packets marked
<    long p_drop;    // packets dropped
<    long p_edrop;   // packets early dropped
<    
<    long b_arr;     // bytes arrived
<    long b_enq;     // bytes enqueued
<    long b_deq;     // bytes dequeued
<    long b_mark;    // bytes marked
<    long b_drop;    // bytes dropped
<    long b_edrop;   // bytes early dropped
<    
<    float qdelay;
<    
<    double last_reset;
< };
< 
< enum statQueryType {
<    DROPS,
<    EDROPS,
<    PKTS,
<    MARKS,
<    LAST_RESET,
<    LAST_PKT,
<    STAT_QUERY_SIZE
< };
< 
< 
< 
155,158c122
<   void clearDelayHistogram();
<   void printDelayHistogram();
<   float getDelay(int q, int prec);
< 
---
>   
160d123
<   Tcl_Channel channel_;
163,171c126
<   statType stats;               // used for statistics gatherings
<   
<   /* used for statistics gatherings
<      this ptr is NULLed in the constructor and memory is allocated once
<      a channel is attached. If no channel is allocated, than statistics are not
<      collected
<    */
<   detailedStatType *ds;         
<   
---
>   statType stats; // used for statistics gatherings
218,222d172
< 
<   detailedStatType *getDS(int flow_id, int cp);
<   void createDetailedStats();
<   void clearDetailedStats();
<   void dumpDetailedStats();
