diff options
author | David Goulet <dgoulet@torproject.org> | 2022-10-27 10:45:08 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2022-10-27 10:45:08 -0400 |
commit | a1c40c8511b841db773e82bd8024ef3581262900 (patch) | |
tree | d8aa76a8cd174aabcb18a05c312ccf70b61bfbd5 /src/feature/stats/rephist.h | |
parent | 06a26f18727d3831339c138ccec07ea2f7935014 (diff) | |
download | tor-a1c40c8511b841db773e82bd8024ef3581262900.tar.gz tor-a1c40c8511b841db773e82bd8024ef3581262900.zip |
metrics: Fix naming and documentation
After nickm's review, minor changes to names and comments.
Related to #40194
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/stats/rephist.h')
-rw-r--r-- | src/feature/stats/rephist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/stats/rephist.h b/src/feature/stats/rephist.h index c1352ae7f8..02d23a4c1b 100644 --- a/src/feature/stats/rephist.h +++ b/src/feature/stats/rephist.h @@ -48,8 +48,8 @@ uint64_t rep_hist_get_conn_created(bool initiated, unsigned int type); uint64_t rep_hist_get_conn_opened(bool initiated, unsigned int type); uint64_t rep_hist_get_conn_rejected(unsigned int type); -void rep_hist_note_stream(unsigned int cmd); -uint64_t rep_hist_get_stream_seen(unsigned int cmd); +void rep_hist_note_exit_stream(unsigned int cmd); +uint64_t rep_hist_get_exit_stream_seen(unsigned int cmd); void rep_hist_buffer_stats_init(time_t now); void rep_hist_buffer_stats_add_circ(circuit_t *circ, |