mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 11:21:52 +08:00
info lint:
Former-commit-id: f3b68279e7473d817745941e2cb056489f3e8e76
This commit is contained in:
parent
102aa35350
commit
70f6912533
@ -221,11 +221,8 @@ IVF::search_impl(int64_t n, const float* data, int64_t k, float* distances, int6
|
||||
faiss::ivflib::search_with_parameters(index_.get(), n, (float*)data, k, distances, labels, params.get());
|
||||
stdclock::time_point after = stdclock::now();
|
||||
double search_cost = (std::chrono::duration<double, std::micro>(after - before)).count();
|
||||
KNOWHERE_LOG_DEBUG << "K=" << k
|
||||
<< " NQ=" << n
|
||||
<< " NL=" << faiss::indexIVF_stats.nlist
|
||||
<< " ND=" << faiss::indexIVF_stats.ndis
|
||||
<< " NH=" << faiss::indexIVF_stats.nheap_updates
|
||||
KNOWHERE_LOG_DEBUG << "K=" << k << " NQ=" << n << " NL=" << faiss::indexIVF_stats.nlist
|
||||
<< " ND=" << faiss::indexIVF_stats.ndis << " NH=" << faiss::indexIVF_stats.nheap_updates
|
||||
<< " Q=" << faiss::indexIVF_stats.quantization_time
|
||||
<< " S=" << faiss::indexIVF_stats.search_time;
|
||||
faiss::indexIVF_stats.quantization_time = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user