| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -22,9 +22,6 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#include "paddle/fluid/operators/distributed/grpc_variable_response.h"
 | 
					 | 
					 | 
					 | 
					#include "paddle/fluid/operators/distributed/grpc_variable_response.h"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#include "paddle/fluid/platform/profiler.h"
 | 
					 | 
					 | 
					 | 
					#include "paddle/fluid/platform/profiler.h"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					DEFINE_string(rpc_server_profile_path, "/tmp/profile_ps",
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              "the profile log file path");
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					namespace paddle {
 | 
					 | 
					 | 
					 | 
					namespace paddle {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					namespace operators {
 | 
					 | 
					 | 
					 | 
					namespace operators {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					namespace distributed {
 | 
					 | 
					 | 
					 | 
					namespace distributed {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -289,7 +286,6 @@ int GRPCVariableResponse::Parse(Source* source) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          platform::EnableProfiler(platform::ProfilerState::kCPU);
 | 
					 | 
					 | 
					 | 
					          platform::EnableProfiler(platform::ProfilerState::kCPU);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } else if (profiling == platform::kDisableProfiler &&
 | 
					 | 
					 | 
					 | 
					        } else if (profiling == platform::kDisableProfiler &&
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                   platform::IsProfileEnabled()) {
 | 
					 | 
					 | 
					 | 
					                   platform::IsProfileEnabled()) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          // TODO(panyx0718): Should we allow to customize file dir.
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          platform::DisableProfiler(
 | 
					 | 
					 | 
					 | 
					          platform::DisableProfiler(
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              platform::EventSortingKey::kDefault,
 | 
					 | 
					 | 
					 | 
					              platform::EventSortingKey::kDefault,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              string::Sprintf("%s_%lld", FLAGS_rpc_server_profile_path,
 | 
					 | 
					 | 
					 | 
					              string::Sprintf("%s_%lld", FLAGS_rpc_server_profile_path,
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |