// File: /workspace/github_c_makefile_star2_O2/zhou-yuxin[P]redis-aof-no-cow/src/redis-benchmark.c
// Function: benchmark
static void benchmark(char *title, char *cmd, int len) {
    client c;

    config.title = title;
    config.requests_issued = 0;
    config.requests_finished = 0;

    c = createClient(cmd,len,NULL);
    createMissingClients(c);

    config.start = mstime();
    aeMain(config.el);
    config.totlatency = mstime()-config.start;

    showLatencyReport();
    freeAllClients();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rax
movq %rdi, 0x3a63d(%rip)     # 0x484a0
andq $0x0, 0x3a5f9(%rip)     # 0x48464
movslq %edx, %rsi
movq %rax, %rdi
xorl %edx, %edx
callq 0xdafb
movq %rax, %rdi
callq 0xde0c
callq 0xd32b
movq %rax, 0x3a5fc(%rip)     # 0x48488
movq 0x3a5a5(%rip), %rdi     # 0x48438
callq 0xbf4a
callq 0xd32b
subq 0x3a5e4(%rip), %rax     # 0x48488
movq %rax, 0x3a5e5(%rip)     # 0x48490
cvtsi2ssl 0x3a5b5(%rip), %xmm1 # 0x48468
cvtsi2ss %rax, %xmm0
divss 0x262e4(%rip), %xmm0    # 0x341a4
divss %xmm0, %xmm1
movl 0x3a5ea(%rip), %eax     # 0x484b4
movl 0x3a5e0(%rip), %ecx     # 0x484b0
orl %eax, %ecx
movq 0x3a5c7(%rip), %rsi     # 0x484a0
je 0xdef3
cvtss2sd %xmm1, %xmm0
testl %eax, %eax
je 0xe037
leaq 0x267d7(%rip), %rdi     # 0x346c5
jmp 0xe03e
movss %xmm1, 0x4(%rsp)
leaq 0x26717(%rip), %rdi     # 0x34617
xorl %r15d, %r15d
xorl %eax, %eax
callq 0xb1c0
cvtsi2ssq 0x3a57d(%rip), %xmm0 # 0x48490
movl 0x3a54f(%rip), %esi     # 0x48468
divss 0x26283(%rip), %xmm0    # 0x341a4
cvtss2sd %xmm0, %xmm0
leaq 0x266fd(%rip), %rdi     # 0x34629
movb $0x1, %al
callq 0xb1c0
movl 0x3a51f(%rip), %esi     # 0x48458
leaq 0x26712(%rip), %rdi     # 0x34652
xorl %eax, %eax
callq 0xb1c0
movl 0x3a523(%rip), %esi     # 0x48470
leaq 0x26715(%rip), %rdi     # 0x34669
xorl %eax, %eax
callq 0xb1c0
movl 0x3a51b(%rip), %esi     # 0x4847c
leaq 0x26715(%rip), %rdi     # 0x3467d
xorl %eax, %eax
callq 0xb1c0
pushq $0xa
popq %rdi
callq 0xb060
movq 0x3a51a(%rip), %rdi     # 0x48498
movslq 0x3a4db(%rip), %rsi     # 0x48460
leaq 0x578(%rip), %rcx       # 0xe504
pushq $0x8
popq %rdx
callq 0xb0e0
movl $0x3e8, %r12d           # imm = 0x3E8
movss 0x26206(%rip), %xmm2    # 0x341a8
leaq 0x266e6(%rip), %rbx     # 0x3468f
xorl %r14d, %r14d
movslq 0x3a4ad(%rip), %rcx     # 0x48460
movq 0x3a4de(%rip), %rsi     # 0x48498
movslq %r14d, %rdi
leal -0x1(%rcx), %r8d
incq %r15
negq %r8
movss 0x4(%rsp), %xmm0
leaq -0x1(%r15), %rax
cmpq %rcx, %rax
jge 0xe023
movq -0x8(%rsi,%r15,8), %rax
cqto
idivq %r12
movq %rax, %r14
cmpq %rdi, %rax
jne 0xdff7
leaq (%r8,%r15), %rax
cmpq $0x1, %rax
je 0xdff7
incq %r15
jmp 0xdfcd
cvtsi2ss %r15d, %xmm0
cvtsi2ss %ecx, %xmm1
mulss %xmm2, %xmm0
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
movl %r14d, %esi
movb $0x1, %al
callq 0xb1c0
movss 0x26187(%rip), %xmm2    # 0x341a8
jmp 0xdfac
cvtss2sd %xmm0, %xmm0
leaq 0x2667c(%rip), %rdi     # 0x346aa
movb $0x1, %al
callq 0xb1c0
jmp 0xe045
leaq 0x26694(%rip), %rdi     # 0x346d2
movb $0x1, %al
callq 0xb1c0
movq 0x3a45c(%rip), %rax     # 0x484a8
movq (%rax), %rax
testq %rax, %rax
je 0xe066
movq 0x8(%rax), %rbx
movq 0x10(%rax), %rdi
callq 0xe21c
movq %rbx, %rax
jmp 0xe04f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq