Mercurial > hg > audiodb
diff lshlib.h @ 512:6439cfba2524 memory-leaks
Implemented correct LSH table via compile-time switch -DLSH_DUMP_CORE_TABLES. Dumps on LSH load.
author | mas01mc |
---|---|
date | Fri, 23 Jan 2009 18:45:44 +0000 |
parents | 7b24f2b423cc |
children | 01cb73dfcddd |
line wrap: on
line diff
--- a/lshlib.h Sun Jan 11 04:24:24 2009 +0000 +++ b/lshlib.h Fri Jan 23 18:45:44 2009 +0000 @@ -325,6 +325,7 @@ void bucket_chain_point(bucket* p, Uns32T qpos); void sbucket_chain_point(sbucket* p, Uns32T qpos); void dump_hashtable_row(bucket* p); + void dump_core_hashtable_array(Uns32T* p); // Serial (Format 1) Retrieval/Inspection Functions void serial_bucket_chain_point(SerialElementT* pe, Uns32T qpos); @@ -361,6 +362,8 @@ void serial_dump_tables(char* filename); float get_mean_collision_rate(){ return (float) pointCount / bucketCount ; } char* get_indexName(){return indexName;} + void dump_hashtables(); + }; typedef class G LSH;