// File: /workspace/github_cpp_makefile_star2_O3/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 0x5360
movq %rax, %r12
leaq 0x14245(%rip), %rsi     # 0x3636d
movl $0xf, %edx
movq %rax, %rdi
callq 0x5360
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 0x52c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5200
movzbl 0x318(%r14), %edx
leaq 0x1232f(%rip), %rax     # 0x344ac
leaq 0x1232d(%rip), %rsi     # 0x344b1
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 0xcc6c
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x5360
movq %rax, %r12
leaq 0x141bf(%rip), %rsi     # 0x3637d
movl $0x16, %edx
movq %rax, %rdi
callq 0x5360
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq %r12, %rdi
callq 0x5360
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5200
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x5360
movq %rax, %r12
leaq 0x14174(%rip), %rsi     # 0x36394
movl $0x18, %edx
movq %rax, %rdi
callq 0x5360
leaq 0x23d1c(%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 0x52c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5200
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x5360
movq %rax, %r12
leaq 0x14127(%rip), %rsi     # 0x363ad
movl $0x19, %edx
movq %rax, %rdi
callq 0x5360
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 0x52c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5200
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x5360
leaq 0x140e5(%rip), %rsi     # 0x363c7
movl $0x13, %edx
movq %rax, %rdi
callq 0x5360
movq %r15, 0x8(%rsp)
movq 0x2a0(%r14), %rbp
movq %r14, 0x10(%rsp)
movq 0x2a8(%r14), %r15
cmpq %r15, %rbp
je 0x2236f
leaq 0x48(%rsp), %r14
leaq 0x38(%rsp), %r12
leaq 0x11cf9(%rip), %r13     # 0x34016
movq %r14, 0x38(%rsp)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xcbd6
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq %rbx, %rdi
callq 0x5360
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x5360
movq 0x38(%rsp), %rdi
cmpq %r14, %rdi
je 0x22366
callq 0x52b0
addq $0x20, %rbp
cmpq %r15, %rbp
jne 0x2231d
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x52c0
movq 0x10(%rsp), %r15
movq 0x8(%rsp), %r13
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5200
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %rbx, %rdi
callq 0x5360
movq %rax, %r12
leaq 0x14021(%rip), %rsi     # 0x363db
movl $0xe, %edx
movq %rax, %rdi
callq 0x5360
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5200
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %rbx, %rdi
callq 0x5360
movq %rax, %r12
leaq 0x13fe1(%rip), %rsi     # 0x363ea
movl $0xf, %edx
movq %rax, %rdi
callq 0x5360
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 0x52c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5200
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %rbx, %rdi
callq 0x5360
movq %rax, %r12
leaq 0x13f8c(%rip), %rsi     # 0x363fa
movl $0x10, %edx
movq %rax, %rdi
callq 0x5360
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 0x52c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5200
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %rbx, %rdi
callq 0x5360
movq %rax, %r12
leaq 0x13f37(%rip), %rsi     # 0x3640b
movl $0x10, %edx
movq %rax, %rdi
callq 0x5360
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 0x52c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5200
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %rbx, %rdi
callq 0x5360
movq %rax, %r12
leaq 0x13ee2(%rip), %rsi     # 0x3641c
movl $0x11, %edx
movq %rax, %rdi
callq 0x5360
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 0x52c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5200
leaq 0x68(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq 0x58(%rsp), %rdi
callq 0xcbd6
leaq 0x58(%rsp), %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x277ac
movq 0x58(%rsp), %rdi
cmpq %r14, %rdi
je 0x225c4
callq 0x52b0
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x225d8
callq 0x52b0
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x58(%rsp), %rdi
jmp 0x225fb
jmp 0x22607
movq %rax, %rbx
movq 0x38(%rsp), %rdi
cmpq %r14, %rdi
je 0x2260a
callq 0x52b0
jmp 0x2260a
movq %rax, %rbx
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x2261e
callq 0x52b0
movq %rbx, %rdi
callq 0x55a0