 1241300494
			
		
	
	1241300494
	
	
	
		
			
			Does the measurments, usage of the same and persistence to file. Kill is not implemented, so waits for all clusters to fully responds The performance data uses a mutex and the persistence data file is written while holding the mutex. This obviously needs to be improved, but this commit shows the working concept.
		
			
				
	
	
		
			10 lines
		
	
	
		
			262 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			262 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| add_library(smartrouter SHARED
 | |
| smartrouter.cc
 | |
| smartsession.cc
 | |
| performance.cc
 | |
| )
 | |
| 
 | |
| target_link_libraries(smartrouter maxscale-common mysqlcommon)
 | |
| set_target_properties(smartrouter PROPERTIES VERSION "1.0.0"  LINK_FLAGS -Wl,-z,defs)
 | |
| install_module(smartrouter core)
 |