// File: CMU-SAFARI[P]MQSim/src/ssd/Flash_Transaction_Queue.cpp
// Function: SSD_Components::Flash_Transaction_Queue::Report_results_in_XML(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Utils::XmlWriter&)
void Flash_Transaction_Queue::Report_results_in_XML(std::string name_prefix, Utils::XmlWriter& xmlwriter)
	{
		std::string tmp = name_prefix;
		xmlwriter.Write_start_element_tag(tmp);

		std::string attr = "Name";
		std::string val = id;
		xmlwriter.Write_attribute_string_inline(attr, val);

		attr = "No_Of_Transactions_Enqueued";
		val = std::to_string(RequestQueueProbe.NRequests());
		xmlwriter.Write_attribute_string_inline(attr, val);

		attr = "No_Of_Transactions_Dequeued";
		val = std::to_string(RequestQueueProbe.NDepartures());
		xmlwriter.Write_attribute_string_inline(attr, val);

		attr = "Avg_Queue_Length";
		val = std::to_string(RequestQueueProbe.AvgQueueLength());
		xmlwriter.Write_attribute_string_inline(attr, val);

		attr = "Max_Queue_Length";
		val = std::to_string(RequestQueueProbe.MaxQueueLength());
		xmlwriter.Write_attribute_string_inline(attr, val);

		attr = "STDev_Queue_Length";
		val = std::to_string(RequestQueueProbe.STDevQueueLength());
		xmlwriter.Write_attribute_string_inline(attr, val);

		attr = "Avg_Transaction_Waiting_Time";
		val = std::to_string(RequestQueueProbe.AvgWaitingTime());
		xmlwriter.Write_attribute_string_inline(attr, val);

		attr = "Max_Transaction_Waiting_Time";
		val = std::to_string(RequestQueueProbe.MaxWaitingTime());
		xmlwriter.Write_attribute_string_inline(attr, val);

		xmlwriter.Write_end_element_tag();
	}

// Assembly:
subq $0x468, %rsp            # imm = 0x468
movq %rdi, 0x460(%rsp)
movq %rsi, 0x458(%rsp)
movq %rdx, 0x450(%rsp)
movq 0x460(%rsp), %rax
movq %rax, 0xc0(%rsp)
leaq 0x430(%rsp), %rdi
movq %rdi, 0xc8(%rsp)
callq 0x81a0
movq 0xc8(%rsp), %rsi
movq 0x450(%rsp), %rax
movq %rax, 0xd0(%rsp)
leaq 0x410(%rsp), %rdi
callq 0x81a0
jmp 0x7f15b
movq 0xd0(%rsp), %rdi
leaq 0x410(%rsp), %rsi
callq 0xa8240
jmp 0x7f172
leaq 0x410(%rsp), %rdi
callq 0x8848
leaq 0x3df(%rsp), %rdi
movq %rdi, 0xb8(%rsp)
callq 0x8780
movq 0xb8(%rsp), %rdx
leaq 0x2c9fd(%rip), %rsi     # 0xabba0
leaq 0x3e0(%rsp), %rdi
callq 0x85d0
jmp 0x7f1b2
leaq 0x3df(%rsp), %rdi
callq 0x84a0
movq 0xc0(%rsp), %rsi
addq $0x20, %rsi
leaq 0x3b8(%rsp), %rdi
callq 0x81a0
jmp 0x7f1da
movq 0x450(%rsp), %rax
movq %rax, 0xb0(%rsp)
leaq 0x398(%rsp), %rdi
leaq 0x3e0(%rsp), %rsi
callq 0x81a0
jmp 0x7f201
leaq 0x378(%rsp), %rdi
leaq 0x3b8(%rsp), %rsi
callq 0x81a0
jmp 0x7f218
movq 0xb0(%rsp), %rdi
leaq 0x398(%rsp), %rsi
leaq 0x378(%rsp), %rdx
callq 0xa84d0
jmp 0x7f237
leaq 0x378(%rsp), %rdi
callq 0x8848
leaq 0x398(%rsp), %rdi
callq 0x8848
leaq 0x2ea1b(%rip), %rsi     # 0xadc73
leaq 0x3e0(%rsp), %rdi
callq 0x85c0
jmp 0x7f267
movq 0xc0(%rsp), %rdi
addq $0x40, %rdi
callq 0x98110
movq %rax, 0xa8(%rsp)
jmp 0x7f282
movq 0xa8(%rsp), %rsi
leaq 0x358(%rsp), %rdi
callq 0x19030
jmp 0x7f299
leaq 0x3b8(%rsp), %rdi
leaq 0x358(%rsp), %rsi
movq %rsi, 0x98(%rsp)
callq 0x8510
movq 0x98(%rsp), %rdi
callq 0x8848
movq 0x450(%rsp), %rax
movq %rax, 0xa0(%rsp)
leaq 0x338(%rsp), %rdi
leaq 0x3e0(%rsp), %rsi
callq 0x81a0
jmp 0x7f2ea
leaq 0x318(%rsp), %rdi
leaq 0x3b8(%rsp), %rsi
callq 0x81a0
jmp 0x7f301
movq 0xa0(%rsp), %rdi
leaq 0x338(%rsp), %rsi
leaq 0x318(%rsp), %rdx
callq 0xa84d0
jmp 0x7f320
leaq 0x318(%rsp), %rdi
callq 0x8848
leaq 0x338(%rsp), %rdi
callq 0x8848
leaq 0x2e94e(%rip), %rsi     # 0xadc8f
leaq 0x3e0(%rsp), %rdi
callq 0x85c0
jmp 0x7f350
movq 0xc0(%rsp), %rdi
addq $0x40, %rdi
callq 0x98120
movq %rax, 0x90(%rsp)
jmp 0x7f36b
movq 0x90(%rsp), %rsi
leaq 0x2f8(%rsp), %rdi
callq 0x19030
jmp 0x7f382
leaq 0x3b8(%rsp), %rdi
leaq 0x2f8(%rsp), %rsi
movq %rsi, 0x80(%rsp)
callq 0x8510
movq 0x80(%rsp), %rdi
callq 0x8848
movq 0x450(%rsp), %rax
movq %rax, 0x88(%rsp)
leaq 0x2d8(%rsp), %rdi
leaq 0x3e0(%rsp), %rsi
callq 0x81a0
jmp 0x7f3d3
leaq 0x2b8(%rsp), %rdi
leaq 0x3b8(%rsp), %rsi
callq 0x81a0
jmp 0x7f3ea
movq 0x88(%rsp), %rdi
leaq 0x2d8(%rsp), %rsi
leaq 0x2b8(%rsp), %rdx
callq 0xa84d0
jmp 0x7f409
leaq 0x2b8(%rsp), %rdi
callq 0x8848
leaq 0x2d8(%rsp), %rdi
callq 0x8848
leaq 0x2e881(%rip), %rsi     # 0xadcab
leaq 0x3e0(%rsp), %rdi
callq 0x85c0
jmp 0x7f439
movq 0xc0(%rsp), %rdi
addq $0x40, %rdi
callq 0x97f40
movsd %xmm0, 0x78(%rsp)
jmp 0x7f452
movsd 0x78(%rsp), %xmm0
leaq 0x298(%rsp), %rdi
callq 0x19130
jmp 0x7f467
leaq 0x3b8(%rsp), %rdi
leaq 0x298(%rsp), %rsi
movq %rsi, 0x68(%rsp)
callq 0x8510
movq 0x68(%rsp), %rdi
callq 0x8848
movq 0x450(%rsp), %rax
movq %rax, 0x70(%rsp)
leaq 0x278(%rsp), %rdi
leaq 0x3e0(%rsp), %rsi
callq 0x81a0
jmp 0x7f4af
leaq 0x258(%rsp), %rdi
leaq 0x3b8(%rsp), %rsi
callq 0x81a0
jmp 0x7f4c6
movq 0x70(%rsp), %rdi
leaq 0x278(%rsp), %rsi
leaq 0x258(%rsp), %rdx
callq 0xa84d0
jmp 0x7f4e2
leaq 0x258(%rsp), %rdi
callq 0x8848
leaq 0x278(%rsp), %rdi
callq 0x8848
leaq 0x2e7b9(%rip), %rsi     # 0xadcbc
leaq 0x3e0(%rsp), %rdi
callq 0x85c0
jmp 0x7f512
movq 0xc0(%rsp), %rdi
addq $0x40, %rdi
callq 0x97f20
movl %eax, 0x64(%rsp)
jmp 0x7f529
movl 0x64(%rsp), %esi
leaq 0x238(%rsp), %rdi
callq 0x18f30
jmp 0x7f53c
leaq 0x3b8(%rsp), %rdi
leaq 0x238(%rsp), %rsi
movq %rsi, 0x50(%rsp)
callq 0x8510
movq 0x50(%rsp), %rdi
callq 0x8848
movq 0x450(%rsp), %rax
movq %rax, 0x58(%rsp)
leaq 0x218(%rsp), %rdi
leaq 0x3e0(%rsp), %rsi
callq 0x81a0
jmp 0x7f584
leaq 0x1f8(%rsp), %rdi
leaq 0x3b8(%rsp), %rsi
callq 0x81a0
jmp 0x7f59b
movq 0x58(%rsp), %rdi
leaq 0x218(%rsp), %rsi
leaq 0x1f8(%rsp), %rdx
callq 0xa84d0
jmp 0x7f5b7
leaq 0x1f8(%rsp), %rdi
callq 0x8848
leaq 0x218(%rsp), %rdi
callq 0x8848
leaq 0x2e6f5(%rip), %rsi     # 0xadccd
leaq 0x3e0(%rsp), %rdi
callq 0x85c0
jmp 0x7f5e7
movq 0xc0(%rsp), %rdi
addq $0x40, %rdi
callq 0x98170
movsd %xmm0, 0x48(%rsp)
jmp 0x7f600
movsd 0x48(%rsp), %xmm0
leaq 0x1d8(%rsp), %rdi
callq 0x19130
jmp 0x7f615
leaq 0x3b8(%rsp), %rdi
leaq 0x1d8(%rsp), %rsi
movq %rsi, 0x38(%rsp)
callq 0x8510
movq 0x38(%rsp), %rdi
callq 0x8848
movq 0x450(%rsp), %rax
movq %rax, 0x40(%rsp)
leaq 0x1b8(%rsp), %rdi
leaq 0x3e0(%rsp), %rsi
callq 0x81a0
jmp 0x7f65d
leaq 0x198(%rsp), %rdi
leaq 0x3b8(%rsp), %rsi
callq 0x81a0
jmp 0x7f674
movq 0x40(%rsp), %rdi
leaq 0x1b8(%rsp), %rsi
leaq 0x198(%rsp), %rdx
callq 0xa84d0
jmp 0x7f690
leaq 0x198(%rsp), %rdi
callq 0x8848
leaq 0x1b8(%rsp), %rdi
callq 0x8848
leaq 0x2e62f(%rip), %rsi     # 0xadce0
leaq 0x3e0(%rsp), %rdi
callq 0x85c0
jmp 0x7f6c0
movq 0xc0(%rsp), %rdi
addq $0x40, %rdi
callq 0x98060
movq %rax, 0x30(%rsp)
jmp 0x7f6d8
movq 0x30(%rsp), %rsi
leaq 0x178(%rsp), %rdi
callq 0x19030
jmp 0x7f6ec
leaq 0x3b8(%rsp), %rdi
leaq 0x178(%rsp), %rsi
movq %rsi, 0x20(%rsp)
callq 0x8510
movq 0x20(%rsp), %rdi
callq 0x8848
movq 0x450(%rsp), %rax
movq %rax, 0x28(%rsp)
leaq 0x158(%rsp), %rdi
leaq 0x3e0(%rsp), %rsi
callq 0x81a0
jmp 0x7f734
leaq 0x138(%rsp), %rdi
leaq 0x3b8(%rsp), %rsi
callq 0x81a0
jmp 0x7f74b
movq 0x28(%rsp), %rdi
leaq 0x158(%rsp), %rsi
leaq 0x138(%rsp), %rdx
callq 0xa84d0
jmp 0x7f767
leaq 0x138(%rsp), %rdi
callq 0x8848
leaq 0x158(%rsp), %rdi
callq 0x8848
leaq 0x2e575(%rip), %rsi     # 0xadcfd
leaq 0x3e0(%rsp), %rdi
callq 0x85c0
jmp 0x7f797
movq 0xc0(%rsp), %rdi
addq $0x40, %rdi
callq 0x98040
movq %rax, 0x18(%rsp)
jmp 0x7f7af
movq 0x18(%rsp), %rsi
leaq 0x118(%rsp), %rdi
callq 0x19030
jmp 0x7f7c3
leaq 0x3b8(%rsp), %rdi
leaq 0x118(%rsp), %rsi
movq %rsi, 0x8(%rsp)
callq 0x8510
movq 0x8(%rsp), %rdi
callq 0x8848
movq 0x450(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0xf8(%rsp), %rdi
leaq 0x3e0(%rsp), %rsi
callq 0x81a0
jmp 0x7f80b
leaq 0xd8(%rsp), %rdi
leaq 0x3b8(%rsp), %rsi
callq 0x81a0
jmp 0x7f822
movq 0x10(%rsp), %rdi
leaq 0xf8(%rsp), %rsi
leaq 0xd8(%rsp), %rdx
callq 0xa84d0
jmp 0x7f83e
leaq 0xd8(%rsp), %rdi
callq 0x8848
leaq 0xf8(%rsp), %rdi
callq 0x8848
movq 0x450(%rsp), %rdi
callq 0xa8370
jmp 0x7f867
leaq 0x3b8(%rsp), %rdi
callq 0x8848
leaq 0x3e0(%rsp), %rdi
callq 0x8848
leaq 0x430(%rsp), %rdi
callq 0x8848
addq $0x468, %rsp            # imm = 0x468
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
jmp 0x7fb87
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
leaq 0x410(%rsp), %rdi
callq 0x8848
jmp 0x7fb87
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
leaq 0x3df(%rsp), %rdi
callq 0x84a0
jmp 0x7fb87
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
jmp 0x7fb7a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
jmp 0x7fb6d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
jmp 0x7f964
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
leaq 0x378(%rsp), %rdi
callq 0x8848
leaq 0x398(%rsp), %rdi
callq 0x8848
jmp 0x7fb6d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
jmp 0x7f9ad
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
leaq 0x318(%rsp), %rdi
callq 0x8848
leaq 0x338(%rsp), %rdi
callq 0x8848
jmp 0x7fb6d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
jmp 0x7f9f6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
leaq 0x2b8(%rsp), %rdi
callq 0x8848
leaq 0x2d8(%rsp), %rdi
callq 0x8848
jmp 0x7fb6d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
jmp 0x7fa3f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
leaq 0x258(%rsp), %rdi
callq 0x8848
leaq 0x278(%rsp), %rdi
callq 0x8848
jmp 0x7fb6d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
jmp 0x7fa88
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
leaq 0x1f8(%rsp), %rdi
callq 0x8848
leaq 0x218(%rsp), %rdi
callq 0x8848
jmp 0x7fb6d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
jmp 0x7fad1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
leaq 0x198(%rsp), %rdi
callq 0x8848
leaq 0x1b8(%rsp), %rdi
callq 0x8848
jmp 0x7fb6d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
jmp 0x7fb1a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
leaq 0x138(%rsp), %rdi
callq 0x8848
leaq 0x158(%rsp), %rdi
callq 0x8848
jmp 0x7fb6d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
jmp 0x7fb60
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x408(%rsp)
movl %eax, 0x404(%rsp)
leaq 0xd8(%rsp), %rdi
callq 0x8848
leaq 0xf8(%rsp), %rdi
callq 0x8848
leaq 0x3b8(%rsp), %rdi
callq 0x8848
leaq 0x3e0(%rsp), %rdi
callq 0x8848
leaq 0x430(%rsp), %rdi
callq 0x8848
movq 0x408(%rsp), %rdi
callq 0x8770
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)