| 6 |
details. |
details. |
| 7 |
|
|
| 8 |
Remailer statistics |
Remailer statistics |
| 9 |
$Id: stats.c,v 1.21 2003/05/19 23:57:59 weaselp Exp $ */ |
$Id: stats.c,v 1.22 2003/06/27 10:52:11 weaselp Exp $ */ |
| 10 |
|
|
| 11 |
|
|
| 12 |
#include "mix3.h" |
#include "mix3.h" |
| 120 |
poold[0][(now - then) / (60 * 60)] += num; |
poold[0][(now - then) / (60 * 60)] += num; |
| 121 |
poold[1][(now - then) / (60 * 60)] += i; |
poold[1][(now - then) / (60 * 60)] += i; |
| 122 |
} else if (today - then < 80 * SECONDSPERDAY) { |
} else if (today - then < 80 * SECONDSPERDAY) { |
| 123 |
poold[0][(today - then) / (24 * 60 * 60)] += num; |
pool[0][(today - then) / (24 * 60 * 60)] += num; |
| 124 |
poold[1][(today - then) / (24 * 60 * 60)] += i; |
pool[1][(today - then) / (24 * 60 * 60)] += i; |
| 125 |
} |
} |
| 126 |
if (havestats == 0 || then < havestats) |
if (havestats == 0 || then < havestats) |
| 127 |
havestats = then; |
havestats = then; |