aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.h
Commit message (Expand)AuthorAge
* Merge commit 'karsten/dirbytes2'•••Conflicts: src/or/rephist.h Nick Mathewson2010-08-18
|\
| * Count bytes we spend on answering directory requests.Karsten Loesing2010-08-18
* | Remove unused function declarations•••Also remove some #if 0'd code from the unit tests for buffers. The code was killed in e6794e58081af773073c266e23fe3ab2ebecdb7e (5 years ago), and is now broken anyways. Sebastian Hahn2010-08-17
* | Give rep_hist_exit_stats_history() a better name.Karsten Loesing2010-08-15
* | Refactor exit port statistics code and add unit tests.Karsten Loesing2010-08-11
|/
* Allow enabling or disabling *Statistics while Tor is running.•••With this patch we stop scheduling when we should write statistics using a single timestamp in run_scheduled_events(). Instead, we remember when a statistics interval starts separately for each statistic type in geoip.c and rephist.c. Every time run_scheduled_events() tries to write stats to disk, it learns when it should schedule the next such attempt. This patch also enables all statistics to be stopped and restarted at a later time. This patch comes with a few refactorings, some of which were not easily doable without the patch. Karsten Loesing2010-08-05
* Fix typos, make all \brief's conformant, end sentences with a period.Linus Nordberg2010-07-28
* Create rephist.hSebastian Hahn2010-07-27