X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=testTextCollection.cpp;h=dfa618e8415207758d7e7904e6bfabb8ac155199;hb=dbd62fe27e80414b4cf4fbf512ad1910916e6967;hp=39377c5c3f9cfca5a07dd8ac424b77cc13571be0;hpb=bc04ff21fdb5d5334bad2272e2c48180a716f2e3;p=SXSI%2FTextCollection.git diff --git a/testTextCollection.cpp b/testTextCollection.cpp index 39377c5..dfa618e 100644 --- a/testTextCollection.cpp +++ b/testTextCollection.cpp @@ -37,9 +37,9 @@ int main() string str; uchar* data; int i = 0 ,j = 0; - int heap_base = HeapProfiler::GetHeapConsumption (5); // Avoid small samplerates ;) + int heap_base = HeapProfiler::GetHeapConsumption(); std::cerr << "Initial heap usage : " << heap_base << "\n"; - TextCollection *csa = TextCollection::InitTextCollection(); + TextCollection *csa = TextCollection::InitTextCollection(5); // Avoid small samplerates ;) heap_base = HeapProfiler::GetHeapConsumption (); std::cerr << "Heap usage after InitTextCollection : " << heap_base << "\n";