diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2011-08-03 13:26:49 +0200 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2011-08-04 21:18:18 +0200 |
commit | 07dc46e7fc7275fa1fcd365e34f318aa164fe7f1 (patch) | |
tree | 734cae7417a48ad61695e2680bf34b7ba95178f0 /src/or/routerparse.h | |
parent | 95ebd01e6225fecc2af6d9adb0167f1ab6a363fc (diff) | |
download | tor-07dc46e7fc7275fa1fcd365e34f318aa164fe7f1.tar.gz tor-07dc46e7fc7275fa1fcd365e34f318aa164fe7f1.zip |
Separate generation of a buffer-stats string from writing it to disk.
The new rep_hist_format_buffer_stats() generates a buffer-stats string
that rep_hist_buffer_stats_write() writes to disk. All the state
changing (e.g., resetting the buffer-stats history and initializing
the next measurement interval) takes place in
rep_hist_buffer_stats_write(). That allows us to finally test the
buffer-stats code better.
Diffstat (limited to 'src/or/routerparse.h')
0 files changed, 0 insertions, 0 deletions