// File: FreeSlave[P]vhlt/hlrad/vismatrixutil.cpp
// Function: DumpTransfersMemoryUsage()
void            DumpTransfersMemoryUsage()
{
#ifdef ZHLT_64BIT_FIX
	if(g_total_transfer > 1000*1000)
		Log("Transfer Lists : %11.0f : %8.2fM transfers\n", (double)g_total_transfer, (double)g_total_transfer/(1000.0f*1000.0f));
	else if(g_total_transfer > 1000)
		Log("Transfer Lists : %11.0f : %8.2fk transfers\n", (double)g_total_transfer, (double)g_total_transfer/1000.0f);
	else
		Log("Transfer Lists : %11.0f transfers\n", (double)g_total_transfer);
	
	if(g_transfer_index_bytes > 1024*1024)
		Log("       Indices : %11.0f : %8.2fM bytes\n", (double)g_transfer_index_bytes, (double)g_transfer_index_bytes/(1024.0f * 1024.0f));
	else if(g_transfer_index_bytes > 1024)
		Log("       Indices : %11.0f : %8.2fk bytes\n", (double)g_transfer_index_bytes, (double)g_transfer_index_bytes/1024.0f);
	else
		Log("       Indices : %11.0f bytes\n", (double)g_transfer_index_bytes);
	
	if(g_transfer_data_bytes > 1024*1024)
		Log("          Data : %11.0f : %8.2fM bytes\n", (double)g_transfer_data_bytes, (double)g_transfer_data_bytes/(1024.0f * 1024.0f));
	else if(g_transfer_data_bytes > 1024)
		Log("          Data : %11.0f : %8.2fk bytes\n", (double)g_transfer_data_bytes, (double)g_transfer_data_bytes/1024.0f);
	else
		Log("          Data : %11.0f bytes\n", (double)g_transfer_data_bytes);
#else
	if(g_total_transfer > 1000*1000)
		Log("Transfer Lists : %11u : %7.2fM transfers\n", g_total_transfer, g_total_transfer/(1000.0f*1000.0f));
	else if(g_total_transfer > 1000)
		Log("Transfer Lists : %11u : %7.2fk transfers\n", g_total_transfer, g_total_transfer/1000.0f);
	else
		Log("Transfer Lists : %11u transfers\n", g_total_transfer);
	
	if(g_transfer_index_bytes > 1024*1024)
		Log("       Indices : %11u : %7.2fM bytes\n", g_transfer_index_bytes, g_transfer_index_bytes/(1024.0f * 1024.0f));
	else if(g_transfer_index_bytes > 1024)
		Log("       Indices : %11u : %7.2fk bytes\n", g_transfer_index_bytes, g_transfer_index_bytes/1024.0f);
	else
		Log("       Indices : %11u bytes\n", g_transfer_index_bytes);
	
	if(g_transfer_data_bytes > 1024*1024)
		Log("          Data : %11u : %7.2fM bytes\n", g_transfer_data_bytes, g_transfer_data_bytes/(1024.0f * 1024.0f));
	else if(g_transfer_data_bytes > 1024)
		Log("          Data : %11u : %7.2fk bytes\n", g_transfer_data_bytes, g_transfer_data_bytes/1024.0f);
	else
		Log("          Data : %11u bytes\n", g_transfer_data_bytes); //--vluzacn
#endif
}

// Assembly:
pushq %rax
cmpq $0xf4240, 0x66c66d4(%rip) # imm = 0xF4240
jbe 0x694da
movaps 0x85fb(%rip), %xmm0     # 0x71a90
movq 0x66c66c3(%rip), %xmm1  # 0x672fb60
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movapd 0x85f7(%rip), %xmm0     # 0x71aa0
subpd %xmm0, %xmm1
movaps %xmm1, %xmm0
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm0, %xmm1
movaps %xmm1, %xmm0
movsd 0x133d(%rip), %xmm2     # 0x6a800
divsd %xmm2, %xmm1
leaq 0x8af6(%rip), %rdi      # 0x71fc4
movb $0x2, %al
callq 0xb0d0
jmp 0x6956a
cmpq $0x3e8, 0x66c667b(%rip) # imm = 0x3E8
jbe 0x69530
movaps 0x85a2(%rip), %xmm0     # 0x71a90
movq 0x66c666a(%rip), %xmm1  # 0x672fb60
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movapd 0x859e(%rip), %xmm0     # 0x71aa0
subpd %xmm0, %xmm1
movaps %xmm1, %xmm0
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm0, %xmm1
movaps %xmm1, %xmm0
movsd 0x8a84(%rip), %xmm2     # 0x71fa0
divsd %xmm2, %xmm1
leaq 0x8ac9(%rip), %rdi      # 0x71ff0
movb $0x2, %al
callq 0xb0d0
jmp 0x69568
movaps 0x8559(%rip), %xmm1     # 0x71a90
movq 0x66c6621(%rip), %xmm0  # 0x672fb60
punpckldq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd 0x8555(%rip), %xmm1     # 0x71aa0
subpd %xmm1, %xmm0
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
addsd %xmm1, %xmm0
leaq 0x8abb(%rip), %rdi      # 0x7201c
movb $0x1, %al
callq 0xb0d0
jmp 0x6956a
cmpq $0x100000, 0x66c65f3(%rip) # imm = 0x100000
jbe 0x695c3
movaps 0x8512(%rip), %xmm0     # 0x71a90
movq 0x66c65e2(%rip), %xmm1  # 0x672fb68
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movapd 0x850e(%rip), %xmm0     # 0x71aa0
subpd %xmm0, %xmm1
movaps %xmm1, %xmm0
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm0, %xmm1
movaps %xmm1, %xmm0
movsd 0x22b4(%rip), %xmm2     # 0x6b860
divsd %xmm2, %xmm1
leaq 0x8a88(%rip), %rdi      # 0x7203f
movb $0x2, %al
callq 0xb0d0
jmp 0x69653
cmpq $0x400, 0x66c659a(%rip) # imm = 0x400
jbe 0x69619
movaps 0x84b9(%rip), %xmm0     # 0x71a90
movq 0x66c6589(%rip), %xmm1  # 0x672fb68
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movapd 0x84b5(%rip), %xmm0     # 0x71aa0
subpd %xmm0, %xmm1
movaps %xmm1, %xmm0
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm0, %xmm1
movaps %xmm1, %xmm0
movsd 0x87f3(%rip), %xmm2     # 0x71df8
divsd %xmm2, %xmm1
leaq 0x8a57(%rip), %rdi      # 0x72067
movb $0x2, %al
callq 0xb0d0
jmp 0x69651
movaps 0x8470(%rip), %xmm1     # 0x71a90
movq 0x66c6540(%rip), %xmm0  # 0x672fb68
punpckldq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd 0x846c(%rip), %xmm1     # 0x71aa0
subpd %xmm1, %xmm0
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
addsd %xmm1, %xmm0
leaq 0x8a45(%rip), %rdi      # 0x7208f
movb $0x1, %al
callq 0xb0d0
jmp 0x69653
cmpq $0x100000, 0x66c6512(%rip) # imm = 0x100000
jbe 0x696ac
movaps 0x8429(%rip), %xmm0     # 0x71a90
movq 0x66c6501(%rip), %xmm1  # 0x672fb70
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movapd 0x8425(%rip), %xmm0     # 0x71aa0
subpd %xmm0, %xmm1
movaps %xmm1, %xmm0
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm0, %xmm1
movaps %xmm1, %xmm0
movsd 0x21cb(%rip), %xmm2     # 0x6b860
divsd %xmm2, %xmm1
leaq 0x8a0e(%rip), %rdi      # 0x720ae
movb $0x2, %al
callq 0xb0d0
jmp 0x6973c
cmpq $0x400, 0x66c64b9(%rip) # imm = 0x400
jbe 0x69702
movaps 0x83d0(%rip), %xmm0     # 0x71a90
movq 0x66c64a8(%rip), %xmm1  # 0x672fb70
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movapd 0x83cc(%rip), %xmm0     # 0x71aa0
subpd %xmm0, %xmm1
movaps %xmm1, %xmm0
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm0, %xmm1
movaps %xmm1, %xmm0
movsd 0x870a(%rip), %xmm2     # 0x71df8
divsd %xmm2, %xmm1
leaq 0x89dd(%rip), %rdi      # 0x720d6
movb $0x2, %al
callq 0xb0d0
jmp 0x6973a
movaps 0x8387(%rip), %xmm1     # 0x71a90
movq 0x66c645f(%rip), %xmm0  # 0x672fb70
punpckldq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd 0x8383(%rip), %xmm1     # 0x71aa0
subpd %xmm1, %xmm0
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
addsd %xmm1, %xmm0
leaq 0x89cb(%rip), %rdi      # 0x720fe
movb $0x1, %al
callq 0xb0d0
jmp 0x6973c
popq %rax
retq
nop