Mercurial > hg > audiodb
comparison audioDB.h @ 446:6ac898b19656 api-inversion
Incrementally zapping bits of code.
In this case, the timeval things that were used for timing the query
loop. This functionality is trivially (haha, I said "trivially")
replicable using LD_PRELOAD tricks or, alternatively, a profiler.
author | mas01cr |
---|---|
date | Wed, 24 Dec 2008 10:56:45 +0000 |
parents | 4fe90fd568fc |
children | 0c1c8726a79b |
comparison
equal
deleted
inserted
replaced
445:d1771f436ff7 | 446:6ac898b19656 |
---|---|
311 double relative_threshold; | 311 double relative_threshold; |
312 | 312 |
313 ReporterBase* reporter; // track/point reporter | 313 ReporterBase* reporter; // track/point reporter |
314 Accumulator *accumulator; | 314 Accumulator *accumulator; |
315 priority_queue<PointPair, std::vector<PointPair>, std::less<PointPair> >* exact_evaluation_queue; | 315 priority_queue<PointPair, std::vector<PointPair>, std::less<PointPair> >* exact_evaluation_queue; |
316 | |
317 // Timers | |
318 struct timeval tv1; | |
319 struct timeval tv2; | |
320 | 316 |
321 // LISZT parameters | 317 // LISZT parameters |
322 unsigned lisztOffset; | 318 unsigned lisztOffset; |
323 unsigned lisztLength; | 319 unsigned lisztLength; |
324 | 320 |