What is the difference between calling omp_get_wtime() and creating it inside the function?
void the_4_square(Pixel* rgbConversion, double laser_time1) {
int a = CAM_WIDTH;
int b = CAM_HEIGHT;
int out = 315;
Pixel find_red;
for (int y = 0; y < CAM_HEIGHT; y++){
for (int x = 0; x < CAM_WIDTH; x++){
find_red = rgbConversion[(y * CAM_WIDTH) + x];
if (((a - x + 117) < out) && (a - y - 110) > out) {
if (find_red.B == 255) {
//printf("top right\n");
double dors = (omp_get_wtime() - laser_time1) * 1000;
printf("borisdfgng of test: %5.2fms\n", dors);
}
}else{
gatering_of_function(rgbConversion, x, y);
}
}
}
}