mirror of https://github.com/trapexit/mergerfs.git
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							28 lines
						
					
					
						
							1.0 KiB
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							28 lines
						
					
					
						
							1.0 KiB
						
					
					
				
								#pragma once
							 | 
						|
								
							 | 
						|
								#include "cpu.hpp"
							 | 
						|
								
							 | 
						|
								#include <string>
							 | 
						|
								
							 | 
						|
								namespace PinThreads
							 | 
						|
								{
							 | 
						|
								  void R1L(const CPU::ThreadIdVec threads);
							 | 
						|
								  void R1P(const CPU::ThreadIdVec threads);
							 | 
						|
								  void RP1L(const CPU::ThreadIdVec read_threads,
							 | 
						|
								            const CPU::ThreadIdVec process_threads);
							 | 
						|
								  void RP1P(const CPU::ThreadIdVec read_threads,
							 | 
						|
								            const CPU::ThreadIdVec process_threads);
							 | 
						|
								  void R1LP1L(const CPU::ThreadIdVec read_threads,
							 | 
						|
								              const CPU::ThreadIdVec process_threads);
							 | 
						|
								  void R1PP1P(const CPU::ThreadIdVec read_threads,
							 | 
						|
								              const CPU::ThreadIdVec process_threads);
							 | 
						|
								  void RPSL(const CPU::ThreadIdVec read_threads,
							 | 
						|
								            const CPU::ThreadIdVec process_threads);
							 | 
						|
								  void RPSP(const CPU::ThreadIdVec read_threads,
							 | 
						|
								            const CPU::ThreadIdVec process_threads);
							 | 
						|
								  void R1PPSP(const CPU::ThreadIdVec read_threads,
							 | 
						|
								              const CPU::ThreadIdVec process_threads);
							 | 
						|
								  void pin(const CPU::ThreadIdVec read_threads,
							 | 
						|
								           const CPU::ThreadIdVec process_threads,
							 | 
						|
								           const std::string      type);
							 | 
						|
								}
							 |