// File: /workspace/github_cpp_makefile_star2_O3/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 0x5360
movq %rax, %r12
leaq 0x9474(%rip), %rsi      # 0x36d55
movl $0x25, %edx
movq %rax, %rdi
callq 0x5360
movq 0x320(%r14), %rsi
movq %r12, %rdi
callq 0x51f0
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 0x18622(%rip), %rax     # 0x45f50
cmpb $0x1, 0x24e(%rax)
jne 0x2da62
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x5360
movq %rax, %r12
leaq 0x9427(%rip), %rsi      # 0x36d7b
movl $0x2a, %edx
movq %rax, %rdi
callq 0x5360
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 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 0x93ee(%rip), %rsi      # 0x36da6
movl $0x2e, %edx
movq %rax, %rdi
callq 0x5360
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 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 0x93bb(%rip), %rsi      # 0x36dd5
movl $0x2d, %edx
movq %rax, %rdi
callq 0x5360
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 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 0x9388(%rip), %rsi      # 0x36e03
movl $0x26, %edx
movq %rax, %rdi
callq 0x5360
movq 0x330(%r14), %rsi
movq %r12, %rdi
callq 0x51f0
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 0x9350(%rip), %rsi      # 0x36e2a
movl $0x28, %edx
movq %rax, %rdi
callq 0x5360
movq 0x328(%r14), %rsi
movq %r12, %rdi
callq 0x51f0
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 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 0xcbd6
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x27a64
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x2db5e
callq 0x52b0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x2db7c
callq 0x52b0
movq %rbx, %rdi
callq 0x55a0