// File: /workspace/github_cpp_makefile_star2_O2/CMU-SAFARI[P]MQSim/src/nvm_chip/flash_memory/Flash_Chip.cpp
// Function: NVM::FlashMemory::Flash_Chip::Report_results_in_XML(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Utils::XmlWriter&)
void Flash_Chip::Report_results_in_XML(std::string name_prefix, Utils::XmlWriter& xmlwriter)
		{
			std::string tmp = name_prefix;
			xmlwriter.Write_start_element_tag(tmp + ".FlashChips");

			std::string attr = "ID";
			std::string val = "@" + std::to_string(ChannelID) + "@" + std::to_string(ChipID);
			xmlwriter.Write_attribute_string_inline(attr, val);

			attr = "Fraction_of_Time_in_Execution";
			val = std::to_string(STAT_totalExecTime / double(Simulator->Time()));
			xmlwriter.Write_attribute_string_inline(attr, val);

			attr = "Fraction_of_Time_in_DataXfer";
			val = std::to_string(STAT_totalXferTime / double(Simulator->Time()));
			xmlwriter.Write_attribute_string_inline(attr, val);

			attr = "Fraction_of_Time_in_DataXfer_and_Execution";
			val = std::to_string(STAT_totalOverlappedXferExecTime / double(Simulator->Time()));
			xmlwriter.Write_attribute_string_inline(attr, val);

			attr = "Fraction_of_Time_Idle";
			val = std::to_string((Simulator->Time() - STAT_totalOverlappedXferExecTime - STAT_totalXferTime) / double(Simulator->Time()));
			xmlwriter.Write_attribute_string_inline(attr, val);
		
			xmlwriter.Write_end_element_tag();
		}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq %rdx, %rbx
movq %rdi, %r14
leaq 0x238(%rsp), %r15
movq %r15, %rdi
callq 0x7480
leaq 0x2732a(%rip), %rdx     # 0x460eb
leaq 0x218(%rsp), %rdi
movq %r15, %rsi
callq 0x11c18
leaq 0x218(%rsp), %rsi
movq %rbx, %rdi
callq 0x41d4a
leaq 0x218(%rsp), %rdi
callq 0x7678
leaq 0x276e9(%rip), %rsi     # 0x464de
leaq 0x58(%rsp), %rdi
movq %rsp, %rdx
callq 0x7150
movl 0x2c(%r14), %esi
leaq 0x1d8(%rsp), %rdi
callq 0xe74b
leaq 0x2970e(%rip), %rsi     # 0x48528
leaq 0x1f8(%rsp), %rdi
leaq 0x1d8(%rsp), %rdx
callq 0x1f431
leaq 0x296f2(%rip), %rdx     # 0x48528
leaq 0x38(%rsp), %rdi
leaq 0x1f8(%rsp), %rsi
callq 0x9b29
movl 0x30(%r14), %esi
leaq 0x1b8(%rsp), %rdi
callq 0xe74b
movq %rsp, %rdi
leaq 0x38(%rsp), %rsi
leaq 0x1b8(%rsp), %rdx
callq 0x9b48
leaq 0x1b8(%rsp), %rdi
callq 0x7678
leaq 0x38(%rsp), %rdi
callq 0x7678
leaq 0x1f8(%rsp), %rdi
callq 0x7678
leaq 0x1d8(%rsp), %rdi
callq 0x7678
leaq 0x198(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x7480
leaq 0x178(%rsp), %rdi
movq %rsp, %rsi
callq 0x7480
leaq 0x198(%rsp), %rsi
leaq 0x178(%rsp), %rdx
movq %rbx, %rdi
callq 0x41f1c
leaq 0x178(%rsp), %rdi
callq 0x7678
leaq 0x198(%rsp), %rdi
callq 0x7678
leaq 0x271fd(%rip), %rsi     # 0x460f7
leaq 0x58(%rsp), %rdi
callq 0x7640
movsd 0xd8(%r14), %xmm0
movapd %xmm0, 0x20(%rsp)
callq 0x1f784
movq %rax, %rdi
callq 0x1fafc
movapd 0x20(%rsp), %xmm1
unpcklps 0x268a3(%rip), %xmm1    # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x268ab(%rip), %xmm1    # 0x457e0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
movq %rax, %xmm1
punpckldq 0x26882(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x2688a(%rip), %xmm1    # 0x457e0
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
leaq 0x38(%rsp), %rdi
callq 0xe7cc
movq %rsp, %rdi
leaq 0x38(%rsp), %r15
movq %r15, %rsi
callq 0x73f0
movq %r15, %rdi
callq 0x7678
leaq 0x158(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x7480
leaq 0x138(%rsp), %rdi
movq %rsp, %rsi
callq 0x7480
leaq 0x158(%rsp), %rsi
leaq 0x138(%rsp), %rdx
movq %rbx, %rdi
callq 0x41f1c
leaq 0x138(%rsp), %rdi
callq 0x7678
leaq 0x158(%rsp), %rdi
callq 0x7678
leaq 0x27132(%rip), %rsi     # 0x46115
leaq 0x58(%rsp), %rdi
callq 0x7640
movsd 0xe0(%r14), %xmm0
movapd %xmm0, 0x20(%rsp)
callq 0x1f784
movq %rax, %rdi
callq 0x1fafc
movapd 0x20(%rsp), %xmm1
unpcklps 0x267ba(%rip), %xmm1    # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x267c2(%rip), %xmm1    # 0x457e0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
movq %rax, %xmm1
punpckldq 0x26799(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x267a1(%rip), %xmm1    # 0x457e0
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
leaq 0x38(%rsp), %rdi
callq 0xe7cc
movq %rsp, %rdi
leaq 0x38(%rsp), %r15
movq %r15, %rsi
callq 0x73f0
movq %r15, %rdi
callq 0x7678
leaq 0x118(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x7480
leaq 0xf8(%rsp), %rdi
movq %rsp, %rsi
callq 0x7480
leaq 0x118(%rsp), %rsi
leaq 0xf8(%rsp), %rdx
movq %rbx, %rdi
callq 0x41f1c
leaq 0xf8(%rsp), %rdi
callq 0x7678
leaq 0x118(%rsp), %rdi
callq 0x7678
leaq 0x27066(%rip), %rsi     # 0x46132
leaq 0x58(%rsp), %rdi
callq 0x7640
movsd 0xe8(%r14), %xmm0
movapd %xmm0, 0x20(%rsp)
callq 0x1f784
movq %rax, %rdi
callq 0x1fafc
movapd 0x20(%rsp), %xmm1
unpcklps 0x266d1(%rip), %xmm1    # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x266d9(%rip), %xmm1    # 0x457e0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
movq %rax, %xmm1
punpckldq 0x266b0(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x266b8(%rip), %xmm1    # 0x457e0
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
leaq 0x38(%rsp), %rdi
callq 0xe7cc
movq %rsp, %rdi
leaq 0x38(%rsp), %r15
movq %r15, %rsi
callq 0x73f0
movq %r15, %rdi
callq 0x7678
leaq 0xd8(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x7480
leaq 0xb8(%rsp), %rdi
movq %rsp, %rsi
callq 0x7480
leaq 0xd8(%rsp), %rsi
leaq 0xb8(%rsp), %rdx
movq %rbx, %rdi
callq 0x41f1c
leaq 0xb8(%rsp), %rdi
callq 0x7678
leaq 0xd8(%rsp), %rdi
callq 0x7678
leaq 0x26fa8(%rip), %rsi     # 0x4615d
leaq 0x58(%rsp), %rdi
callq 0x7640
callq 0x1f784
movq %rax, %rdi
callq 0x1fafc
movq %rax, %r15
movq 0xe8(%r14), %r12
addq 0xe0(%r14), %r12
callq 0x1f784
movq %rax, %rdi
callq 0x1fafc
subq %r12, %r15
movq %r15, %xmm1
punpckldq 0x265d6(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x265de(%rip), %xmm1    # 0x457e0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
movq %rax, %xmm1
punpckldq 0x265b5(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x265bd(%rip), %xmm1    # 0x457e0
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
leaq 0x38(%rsp), %rdi
callq 0xe7cc
movq %rsp, %rdi
leaq 0x38(%rsp), %r14
movq %r14, %rsi
callq 0x73f0
movq %r14, %rdi
callq 0x7678
leaq 0x98(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x7480
leaq 0x78(%rsp), %rdi
movq %rsp, %rsi
callq 0x7480
leaq 0x98(%rsp), %rsi
leaq 0x78(%rsp), %rdx
movq %rbx, %rdi
callq 0x41f1c
leaq 0x78(%rsp), %rdi
callq 0x7678
leaq 0x98(%rsp), %rdi
callq 0x7678
movq %rbx, %rdi
callq 0x41e22
movq %rsp, %rdi
callq 0x7678
leaq 0x58(%rsp), %rdi
callq 0x7678
leaq 0x238(%rsp), %rdi
callq 0x7678
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x7678
jmp 0x1f2e8
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
jmp 0x1f36c
movq %rax, %rbx
leaq 0xb8(%rsp), %rdi
callq 0x7678
jmp 0x1f307
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
jmp 0x1f36c
movq %rax, %rbx
leaq 0xf8(%rsp), %rdi
callq 0x7678
jmp 0x1f326
movq %rax, %rbx
leaq 0x118(%rsp), %rdi
jmp 0x1f36c
movq %rax, %rbx
leaq 0x138(%rsp), %rdi
callq 0x7678
jmp 0x1f345
movq %rax, %rbx
leaq 0x158(%rsp), %rdi
jmp 0x1f36c
movq %rax, %rbx
leaq 0x178(%rsp), %rdi
callq 0x7678
jmp 0x1f364
movq %rax, %rbx
leaq 0x198(%rsp), %rdi
callq 0x7678
jmp 0x1f3d7
movq %rax, %rbx
leaq 0x1b8(%rsp), %rdi
callq 0x7678
jmp 0x1f388
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x7678
jmp 0x1f397
movq %rax, %rbx
leaq 0x1f8(%rsp), %rdi
callq 0x7678
jmp 0x1f3a9
movq %rax, %rbx
leaq 0x1d8(%rsp), %rdi
jmp 0x1f3da
movq %rax, %rbx
jmp 0x1f3df
jmp 0x1f3c7
movq %rax, %rbx
leaq 0x218(%rsp), %rdi
jmp 0x1f3e4
movq %rax, %rbx
jmp 0x1f3e9
jmp 0x1f3d4
jmp 0x1f3d4
jmp 0x1f3d4
jmp 0x1f3d4
movq %rax, %rbx
movq %rsp, %rdi
callq 0x7678
leaq 0x58(%rsp), %rdi
callq 0x7678
leaq 0x238(%rsp), %rdi
callq 0x7678
movq %rbx, %rdi
callq 0x75d0