Mercurial > hg > audiodb
diff query.cpp @ 527:7ee6a2701d90 multiprobeLSH
Added more debugging information: report numPairs returned from LSH bucket retrieval (pre-distance computation), entry/exit from audiodb_query_spec_qpointers(...)
author | mas01mc |
---|---|
date | Wed, 28 Jan 2009 18:55:46 +0000 |
parents | cc2b97d020b1 |
children | 561339c7fd26 |
line wrap: on
line diff
--- a/query.cpp Wed Jan 28 17:54:18 2009 +0000 +++ b/query.cpp Wed Jan 28 18:55:46 2009 +0000 @@ -449,6 +449,10 @@ double *dbdata = 0, *dbdata_pointer; Uns32T currentTrack = 0x80000000; // KLUDGE: Initialize with a value outside of track index range Uns32T npairs = qstate->exact_evaluation_queue->size(); +#ifdef _LSH_DEBUG_ + cout << "Num vector pairs to evaluate: " << npairs << "..." << endl; + cout.flush(); +#endif while(npairs--) { PointPair pp = qstate->exact_evaluation_queue->top(); if(currentTrack != pp.trackID) {