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,18 +113,21 @@ int main(int argc, char **argv) { ...@@ -113,18 +113,21 @@ 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.
in.blockID.block = 0;
in.blockID.globalSubbandIdx = 0;
in.blockID.localSubbandIdx = 0;
in.blockID.subbandProcSubbandIdx = 0;
size_t block(0);
LOG_INFO("Processing ..."); LOG_INFO("Processing ...");
for (block = 0; block < nrBlocksPerIntegration && !out.emit_correlatedData; block++) { for(size_t iteration = 0; iteration < 10; iteration++) {
LOG_DEBUG_STR("Processing block #" << block); in.blockID.block = 0;
cwq.processSubband(in, out); in.blockID.globalSubbandIdx = 0;
cwq.postprocessSubband(out); in.blockID.localSubbandIdx = 0;
in.blockID.subbandProcSubbandIdx = 0;
out.emit_correlatedData = false;
size_t block(0);
for (block = 0; block < nrBlocksPerIntegration && !out.emit_correlatedData; block++) {
LOG_DEBUG_STR("Processing block #" << block);
cwq.processSubband(in, out);
cwq.postprocessSubband(out);
}
} }
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment