shm folder rename
This commit is contained in:
		
							parent
							
								
									5ebcf72b1f
								
							
						
					
					
						commit
						0cc2998922
					
				| 
						 | 
				
			
			@ -14,27 +14,11 @@ using namespace std;
 | 
			
		|||
 | 
			
		||||
int main(int argc, char *argv[]) {
 | 
			
		||||
 | 
			
		||||
	// if(argc != 3)
 | 
			
		||||
	// {
 | 
			
		||||
	// 	cout << "usage: ./a.out <path-to-original-image> <path-to-transformed-image>\n\n";
 | 
			
		||||
	// 	exit(0);
 | 
			
		||||
	// }
 | 
			
		||||
	
 | 
			
		||||
	// auto startread = chrono::high_resolution_clock::now();
 | 
			
		||||
	// struct image_t *input_image = read_ppm_file(argv[1]);
 | 
			
		||||
	// auto endread = std::chrono::high_resolution_clock::now();
 | 
			
		||||
	
 | 
			
		||||
	// auto startsmooth = chrono::high_resolution_clock::now();
 | 
			
		||||
	// struct image_t *smoothened_image = S1_smoothen(input_image);
 | 
			
		||||
	// auto endsmooth = std::chrono::high_resolution_clock::now();
 | 
			
		||||
	
 | 
			
		||||
	// auto startdetail = chrono::high_resolution_clock::now();
 | 
			
		||||
	// struct image_t *details_image = S2_find_details(input_image, smoothened_image);
 | 
			
		||||
	// auto enddetail = std::chrono::high_resolution_clock::now();
 | 
			
		||||
	
 | 
			
		||||
	// auto startsharp = chrono::high_resolution_clock::now();
 | 
			
		||||
	// struct image_t *sharpened_image = S3_sharpen(input_image, details_image);
 | 
			
		||||
	// auto endsharp = std::chrono::high_resolution_clock::now();
 | 
			
		||||
	if(argc != 3)
 | 
			
		||||
	{
 | 
			
		||||
		cout << "usage: ./a.out <path-to-original-image> <path-to-transformed-image>\n\n";
 | 
			
		||||
		exit(0);
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
    int pipe1[2];
 | 
			
		||||
    int pipe2[2];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
SHMDIR = sharedMemory
 | 
			
		||||
SHMDIR = shm
 | 
			
		||||
SHRPDIR = sharpener
 | 
			
		||||
THRDDIR = threads
 | 
			
		||||
PIPDIR = pipes
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Loading…
	
		Reference in New Issue