]>
jfr.im git - irc/quakenet/qwebirc.git/blob - qwebirc/util/hitcounter.py
6 self
.__start
_time
= time
.time()
8 def __call__(self
, *args
):
12 delta
= time
.time() - self
.__start
_time
14 return "Total: %d hits/s: %.2f" % (self
.__hits
, self
.__hits
/ delta
)