diff options
author | Roger Dingledine <arma@torproject.org> | 2005-12-31 08:09:26 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-12-31 08:09:26 +0000 |
commit | e9e7dc176ce5cfd41c62d1a18bb55e11d4c98fc0 (patch) | |
tree | c1e39f329b3e9038b20d45a14a125ffef27d9392 /src/or/command.c | |
parent | ad82fdab5e84f7e2a5ae995b51fd38a4aa8c2409 (diff) | |
download | tor-e9e7dc176ce5cfd41c62d1a18bb55e11d4c98fc0.tar.gz tor-e9e7dc176ce5cfd41c62d1a18bb55e11d4c98fc0.zip |
Some tor servers process billions of cells in a matter of days.
These statistics need to be uint64_t's.
svn:r5686
Diffstat (limited to 'src/or/command.c')
-rw-r--r-- | src/or/command.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/or/command.c b/src/or/command.c index 015abfea89..4e7e103d7d 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -20,11 +20,11 @@ const char command_c_id[] = #include "or.h" /** Keep statistics about how many of each type of cell we've received. */ -unsigned long stats_n_padding_cells_processed = 0; -unsigned long stats_n_create_cells_processed = 0; -unsigned long stats_n_created_cells_processed = 0; -unsigned long stats_n_relay_cells_processed = 0; -unsigned long stats_n_destroy_cells_processed = 0; +uint64_t stats_n_padding_cells_processed = 0; +uint64_t stats_n_create_cells_processed = 0; +uint64_t stats_n_created_cells_processed = 0; +uint64_t stats_n_relay_cells_processed = 0; +uint64_t stats_n_destroy_cells_processed = 0; /* These are the main four functions for processing cells */ static void command_process_create_cell(cell_t *cell, connection_t *conn); |