X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=testTextCollection.cpp;fp=testTextCollection.cpp;h=dfa618e8415207758d7e7904e6bfabb8ac155199;hb=e4e113340c6bda0e4219d330bf302553383aaa47;hp=39377c5c3f9cfca5a07dd8ac424b77cc13571be0;hpb=3576506a7373aa33aea8d043c333e252fa31565a;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";