summaryrefslogtreecommitdiffstats
path: root/dis/Neighborhood
diff options
context:
space:
mode:
Diffstat (limited to 'dis/Neighborhood')
-rw-r--r--dis/Neighborhood/neighborhood.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/dis/Neighborhood/neighborhood.c b/dis/Neighborhood/neighborhood.c
index 614b8e8..2d401d3 100644
--- a/dis/Neighborhood/neighborhood.c
+++ b/dis/Neighborhood/neighborhood.c
@@ -63,14 +63,14 @@ int main(int argc, char **argv) {
63 image = malloc(sizeof(Pixel) * dimension * dimension); 63 image = malloc(sizeof(Pixel) * dimension * dimension);
64 assert(image != NULL); 64 assert(image != NULL);
65 65
66 beginTime = time(NULL); 66 for_each_job {
67 START_LOOP 67 beginTime = time(NULL);
68 createImage(image, dimension, maxPixel, numberLines, minThickness, 68 createImage(image, dimension, maxPixel, numberLines, minThickness,
69 maxThickness); 69 maxThickness);
70 70
71 neighborhoodCalculation(image, dimension, distanceShort, distanceLong, 71 neighborhoodCalculation(image, dimension, distanceShort, distanceLong,
72 &values, maxPixel); 72 &values, maxPixel);
73 STOP_LOOP 73 }
74 endTime = time(NULL); 74 endTime = time(NULL);
75 WRITE_TO_FILE 75 WRITE_TO_FILE
76 76