diff options
author | erdgeist <> | 2008-10-23 23:58:18 +0000 |
---|---|---|
committer | erdgeist <> | 2008-10-23 23:58:18 +0000 |
commit | cbd39af72d58b54944afb0c393eee7b6ca952450 (patch) | |
tree | db2a9ffce6e9ffa8c436c52f9806ba18e6e54628 /ot_vector.h | |
parent | 41a1d2d025f2b402c6635c3328c2989f4a42b3a2 (diff) |
Add code to debug vector code performance.
Diffstat (limited to 'ot_vector.h')
-rw-r--r-- | ot_vector.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ot_vector.h b/ot_vector.h index 8f3143b..ec053fa 100644 --- a/ot_vector.h +++ b/ot_vector.h | |||
@@ -25,4 +25,8 @@ void *vector_find_or_insert( ot_vector *vector, void *key, size_t member_size, s | |||
25 | int vector_remove_peer( ot_vector *vector, ot_peer *peer, int hysteresis ); | 25 | int vector_remove_peer( ot_vector *vector, ot_peer *peer, int hysteresis ); |
26 | void vector_remove_torrent( ot_vector *vector, ot_torrent *match ); | 26 | void vector_remove_torrent( ot_vector *vector, ot_torrent *match ); |
27 | 27 | ||
28 | #ifdef _DEBUG_VECTOR | ||
29 | size_t vector_info( char * reply ); | ||
30 | #endif | ||
31 | |||
28 | #endif | 32 | #endif |