Skip to content
Snippets Groups Projects
Commit 3b6e0000 authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #0: Use 10 iterations for better statistics

parent 949258bb
No related branches found
No related tags found
No related merge requests found
...@@ -113,19 +113,22 @@ int main(int argc, char **argv) { ...@@ -113,19 +113,22 @@ int main(int argc, char **argv) {
// Initialize subbands partitioning administration (struct BlockID). We only // Initialize subbands partitioning administration (struct BlockID). We only
// do the 1st block of whatever. // do the 1st block of whatever.
LOG_INFO("Processing ...");
for(size_t iteration = 0; iteration < 10; iteration++) {
in.blockID.block = 0; in.blockID.block = 0;
in.blockID.globalSubbandIdx = 0; in.blockID.globalSubbandIdx = 0;
in.blockID.localSubbandIdx = 0; in.blockID.localSubbandIdx = 0;
in.blockID.subbandProcSubbandIdx = 0; in.blockID.subbandProcSubbandIdx = 0;
out.emit_correlatedData = false;
size_t block(0); size_t block(0);
LOG_INFO("Processing ...");
for (block = 0; block < nrBlocksPerIntegration && !out.emit_correlatedData; block++) { for (block = 0; block < nrBlocksPerIntegration && !out.emit_correlatedData; block++) {
LOG_DEBUG_STR("Processing block #" << block); LOG_DEBUG_STR("Processing block #" << block);
cwq.processSubband(in, out); cwq.processSubband(in, out);
cwq.postprocessSubband(out); cwq.postprocessSubband(out);
} }
}
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment