Changeset ee921c2


Ignore:
Timestamp:
Sep 12, 2005 2:58:13 AM (15 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
31bdb89
Parents:
172ffd04
git-author:
jrandom <jrandom> (09/12/05 02:58:13)
git-committer:
zzz <zzz@…> (09/12/05 02:58:13)
Message:

use the low level rates (thanks bar / complication)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java

    r172ffd04 ree921c2  
    240240            return "0.0";
    241241       
    242         RateStat receiveRate = _context.statManager().getRate("bw.recvBps");
     242        RateStat receiveRate = _context.statManager().getRate("bw.recvRate");
    243243        if (receiveRate == null) return "0.0";
    244244        Rate rate = receiveRate.getRate(5*60*1000);
     
    257257            return "0.0";
    258258       
    259         RateStat receiveRate = _context.statManager().getRate("bw.sendBps");
     259        RateStat receiveRate = _context.statManager().getRate("bw.sendRate");
    260260        if (receiveRate == null) return "0.0";
    261261        Rate rate = receiveRate.getRate(5*60*1000);
     
    274274            return "0.0";
    275275       
    276         RateStat receiveRate = _context.statManager().getRate("bw.recvBps");
     276        RateStat receiveRate = _context.statManager().getRate("bw.recvRate");
    277277        if (receiveRate == null) return "0.0";
    278278        double kbps = receiveRate.getLifetimeAverageValue()/1024;
     
    290290            return "0.0";
    291291       
    292         RateStat sendRate = _context.statManager().getRate("bw.sendBps");
     292        RateStat sendRate = _context.statManager().getRate("bw.sendRate");
    293293        if (sendRate == null) return "0.0";
    294294        double kbps = sendRate.getLifetimeAverageValue()/1024;
Note: See TracChangeset for help on using the changeset viewer.