// File: /workspace/github_cpp_makefile_star2_O1/gvaumour[P]cache-simulator/src/PHC.cc
// Function: PHCPredictor::printConfig(std::ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void PHCPredictor::printConfig(std::ostream& out, std::string entete) { 

	out << entete << ":PHC:TableSize\t" << m_tableSize << endl; 
	
	string a = m_enableAllocation ? "TRUE" : "FALSE";
	out << entete << ":PHC:EnableAllocation\t" << a << endl;
	
	out << entete << ":PHC:CostValueThreshold\t" << simu_parameters.PHC_cost_threshold  << endl;
	out << entete << ":PHC:AllocationThreshold\t" << simu_parameters.perceptron_allocation_threshold  << endl;
//	out << entete << ":PHC:CostLearning\t" << simu_parameters.perceptron_allocation_learning << endl; 
	out << entete << ":PHC:AllocFeatures\t"; 
	for(auto p : m_criterias_names)
		out << p << ",";
	out << endl;	
	out << entete << ":PHC:CostModel" << endl;
	out << entete << ":PHC:ShortRead\t" << m_costAccess[false][RD_SHORT] << endl; 		
	out << entete << ":PHC:ShortWrite\t" << m_costAccess[true][RD_SHORT] << endl; 		
	out << entete << ":PHC:MediumRead\t" << m_costAccess[false][RD_MEDIUM] << endl; 		
	out << entete << ":PHC:MediumWrite\t" << m_costAccess[true][RD_MEDIUM] << endl; 		

	Predictor::printConfig(out, entete);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x140c9(%rip), %rsi     # 0x36375
movl $0xf, %edx
movq %rax, %rdi
callq 0x5350
movl 0x2d0(%r14), %esi
movq %r12, %rdi
callq 0x5580
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movzbl 0x318(%r14), %edx
leaq 0x121d7(%rip), %rax     # 0x344d8
leaq 0x121d5(%rip), %rsi     # 0x344dd
testq %rdx, %rdx
cmovneq %rax, %rsi
leaq 0x28(%rsp), %rax
movq %rax, -0x10(%rax)
xorq $0x5, %rdx
addq %rsi, %rdx
leaq 0x18(%rsp), %rdi
callq 0xccac
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x14043(%rip), %rsi     # 0x36385
movl $0x16, %edx
movq %rax, %rdi
callq 0x5350
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq %r12, %rdi
callq 0x5350
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x13ff8(%rip), %rsi     # 0x3639c
movl $0x18, %edx
movq %rax, %rdi
callq 0x5350
leaq 0x23b98(%rip), %r13     # 0x45f50
movl 0x1e8(%r13), %esi
movq %r12, %rdi
callq 0x5580
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x13fab(%rip), %rsi     # 0x363b5
movl $0x19, %edx
movq %rax, %rdi
callq 0x5350
movl 0x1c0(%r13), %esi
movq %r12, %rdi
callq 0x5580
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x5350
leaq 0x13f69(%rip), %rsi     # 0x363cf
movl $0x13, %edx
movq %rax, %rdi
callq 0x5350
movq %r15, 0x8(%rsp)
movq 0x2a0(%r14), %rbp
movq %r14, 0x10(%rsp)
movq 0x2a8(%r14), %r15
cmpq %r15, %rbp
je 0x224f3
leaq 0x48(%rsp), %r14
leaq 0x38(%rsp), %r12
leaq 0x11ba1(%rip), %r13     # 0x34042
movq %r14, 0x38(%rsp)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xcc1c
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq %rbx, %rdi
callq 0x5350
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x5350
movq 0x38(%rsp), %rdi
cmpq %r14, %rdi
je 0x224ea
callq 0x52a0
addq $0x20, %rbp
cmpq %r15, %rbp
jne 0x224a1
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x52b0
movq 0x10(%rsp), %r15
movq 0x8(%rsp), %r13
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x13ea5(%rip), %rsi     # 0x363e3
movl $0xe, %edx
movq %rax, %rdi
callq 0x5350
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x13e65(%rip), %rsi     # 0x363f2
movl $0xf, %edx
movq %rax, %rdi
callq 0x5350
movq 0x2b8(%r15), %rax
movq (%rax), %rax
movl (%rax), %esi
movq %r12, %rdi
callq 0x5580
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x13e10(%rip), %rsi     # 0x36402
movl $0x10, %edx
movq %rax, %rdi
callq 0x5350
movq 0x2b8(%r15), %rax
movq 0x18(%rax), %rax
movl (%rax), %esi
movq %r12, %rdi
callq 0x5580
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x13dbb(%rip), %rsi     # 0x36413
movl $0x10, %edx
movq %rax, %rdi
callq 0x5350
movq 0x2b8(%r15), %rax
movq (%rax), %rax
movl 0x4(%rax), %esi
movq %r12, %rdi
callq 0x5580
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x13d66(%rip), %rsi     # 0x36424
movl $0x11, %edx
movq %rax, %rdi
callq 0x5350
movq 0x2b8(%r15), %rax
movq 0x18(%rax), %rax
movl 0x4(%rax), %esi
movq %r12, %rdi
callq 0x5580
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
leaq 0x68(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq 0x58(%rsp), %rdi
callq 0xcc1c
leaq 0x58(%rsp), %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x27ae4
movq 0x58(%rsp), %rdi
cmpq %r14, %rdi
je 0x22748
callq 0x52a0
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x2275c
callq 0x52a0
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x58(%rsp), %rdi
jmp 0x2277f
jmp 0x2278b
movq %rax, %rbx
movq 0x38(%rsp), %rdi
cmpq %r14, %rdi
je 0x2278e
callq 0x52a0
jmp 0x2278e
movq %rax, %rbx
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x227a2
callq 0x52a0
movq %rbx, %rdi
callq 0x55a0