 	return info;
 }
 
-void ProfileSpeedVsROI(LocalizeModeEnum locMode, const char *outputcsv)
+void ProfileSpeedVsROI(LocalizeModeEnum locMode, const char *outputcsv, bool haveZLUT)
 {
 	int N=24;
 	float* values = new float[N*3];
 
 	for (int i=0;i<N;i++) {
 		int roi = 40+i*5;
-		SpeedInfo info = SpeedCompareTest(roi, locMode);
+		SpeedInfo info = SpeedCompareTest(roi, locMode, haveZLUT);
 		values[i*3+0] = roi;
 		values[i*3+1] = info.speed_cpu;
 		values[i*3+2] = info.speed_gpu;


//CompareAccuracy("../cputrack-test/lut000.jpg");
//QTrkCompareTest();
		ProfileSpeedVsROI(LT_QI, "speeds-qi.txt");
		ProfileSpeedVsROI(LT_OnlyCOM, "speeds-com.txt");

	/*auto info = SpeedCompareTest(80, false);
	auto infogc = SpeedCompareTest(80, true);


	SpeedInfo info;
	QueuedCPUTracker *cputrk = new QueuedCPUTracker(cfg);
	info.speed_cpu = SpeedTest(cfg, cputrk, count, haveZLUT, locType, &info.sched_cpu, false);
	delete cputrk;

	QueuedCUDATracker *cudatrk = new QueuedCUDATracker(cfg, cudaBatchSize);
	info.speed_gpu = SpeedTest(cfg, cudatrk, count, haveZLUT, locType, &info.sched_gpu, false);
	//info.speed_gpu = SpeedTest(cfg, cudatrk, count, haveZLUT, locType, &info.sched_gpu);
	std::string report = cudatrk->GetProfileReport();
	delete cudatrk;
