// File: /workspace/github_cpp_makefile_star2_O1/gvaumour[P]cache-simulator/src/SimplePerceptron.cc
// Function: SimplePerceptronPredictor::printStats(std::ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void 
SimplePerceptronPredictor::printStats(std::ostream& out, std::string entete) 
{ 
	out << entete << ":SimplePerceptronPredictor:SRAMerror\t" << stats_cptSRAMerror << endl;
	if(simu_parameters.simple_perceptron_enableMigration)
	{
		out << entete << ":SimplePerceptronPredictor:TotalMigration\t" << stats_nbMigrations[true] + stats_nbMigrations[false] << endl;
		out << entete << ":SimplePerceptronPredictor:MigrationsFromSRAM\t" << stats_nbMigrations[true] << endl;
		out << entete << ":SimplePerceptronPredictor:MigrationsFromNVM\t" << stats_nbMigrations[false] << endl;	
	}
	out << entete << ":SimplePerceptronPredictor:WrongAlloc\t" << stats_wrong_alloc << endl;
	out << entete << ":SimplePerceptronPredictor:CorrectAlloc\t" << stats_good_alloc << endl;
	
	Predictor::printStats(out, entete);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %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 0x9100(%rip), %rsi      # 0x36d5d
movl $0x25, %edx
movq %rax, %rdi
callq 0x5350
movq 0x320(%r14), %rsi
movq %r12, %rdi
callq 0x51e0
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 0x182a6(%rip), %rax     # 0x45f50
cmpb $0x1, 0x24e(%rax)
jne 0x2ddde
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x90b3(%rip), %rsi      # 0x36d83
movl $0x2a, %edx
movq %rax, %rdi
callq 0x5350
movq 0x350(%r14), %rax
movl (%rax), %esi
addl 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 (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x907a(%rip), %rsi      # 0x36dae
movl $0x2e, %edx
movq %rax, %rdi
callq 0x5350
movq 0x350(%r14), %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 (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x9047(%rip), %rsi      # 0x36ddd
movl $0x2d, %edx
movq %rax, %rdi
callq 0x5350
movq 0x350(%r14), %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 (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x9014(%rip), %rsi      # 0x36e0b
movl $0x26, %edx
movq %rax, %rdi
callq 0x5350
movq 0x330(%r14), %rsi
movq %r12, %rdi
callq 0x51e0
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 0x8fdc(%rip), %rsi      # 0x36e32
movl $0x28, %edx
movq %rax, %rdi
callq 0x5350
movq 0x328(%r14), %rsi
movq %r12, %rdi
callq 0x51e0
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 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0xcc1c
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x27d9c
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x2deda
callq 0x52a0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x2def8
callq 0x52a0
movq %rbx, %rdi
callq 0x55a0