Ignore:
Timestamp:
Apr 29, 2016, 4:05:57 PM (3 years ago)
Author:
lindanl
Message:

Passing file index instead of file name as internal state.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/icgrep.cpp

    r5016 r5017  
    104104
    105105    while (fileIdx < inputFiles.size()){
    106         grepEngine->doGrep(inputFiles[fileIdx]);
     106        grepEngine->doGrep(inputFiles[fileIdx], fileIdx);
    107107       
    108108        count_mutex.lock();
     
    241241    if (Threads <= 1) {
    242242        for (unsigned i = 0; i != inputFiles.size(); ++i) {
    243             grepEngine.doGrep(inputFiles[i]);
     243            grepEngine.doGrep(inputFiles[i], i);
    244244        }       
    245245    } else if (Threads > 1) {
Note: See TracChangeset for help on using the changeset viewer.