// File: Barath-Kannan[P]SignalsAndSlots/test/SignalTest_Parametrized.cpp
// Function: SignalTestParametrized::TearDown()
void SignalTestParametrized::TearDown() {
    cout << "Emission rate: " << (double) counter / bt.getElapsedMilliseconds() << fixed << "m/ms" << endl;
    cout << "Time to emit: " << bt.getElapsedMilliseconds() << "ms" << endl;
    cout << "Average emit time (overall): " << (double) bt.getElapsedNanoseconds() / (params.nEmissions) << "ns" << endl;
    cout << "Average emit time (per connection): " << (double) bt.getElapsedNanoseconds() / (params.nEmissions*params.nConnections) << "ns" << endl;
    cout << "Time to emit+process: " << bt2.getElapsedMilliseconds() << "ms" << endl;
    cout << "Average emit+process time (overall): " << (double) bt2.getElapsedNanoseconds() / params.nEmissions << "ns" << endl;
    cout << "Average emit+process time (per connection): " << (double) bt2.getElapsedNanoseconds() / (params.nEmissions*params.nConnections) << "ns" << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq 0xad81a(%rip), %rdi     # 0xfafb8
movq %rdi, -0x28(%rbp)
leaq 0x599e0(%rip), %rsi     # 0xa7189
callq 0xd640
movq -0x18(%rbp), %rdi
movq %rax, -0x80(%rbp)
addq $0x60, %rdi
callq 0x10670
movq -0x18(%rbp), %rdi
movl %eax, %eax
cvtsi2sd %rax, %xmm0
movsd %xmm0, -0x78(%rbp)
addq $0x30, %rdi
movq %rdi, -0x60(%rbp)
callq 0xfd00
movq -0x80(%rbp), %rdi
movaps %xmm0, %xmm1
movsd -0x78(%rbp), %xmm0
divsd %xmm1, %xmm0
callq 0xddc0
movq %rax, %rdi
leaq 0x55c5(%rip), %rsi      # 0x52dc0
callq 0xd1e0
movq %rax, %rdi
leaq 0x5998f(%rip), %rsi     # 0xa7199
callq 0xd640
movq %rax, %rdi
movq 0xad777(%rip), %rsi     # 0xfaf90
movq %rsi, -0x30(%rbp)
callq 0xd6e0
movq -0x28(%rbp), %rdi
leaq 0x57f0e(%rip), %rsi     # 0xa573b
callq 0xd640
movq -0x60(%rbp), %rdi
movq %rax, -0x70(%rbp)
callq 0xfd00
movq -0x70(%rbp), %rdi
callq 0xddc0
movq %rax, %rdi
leaq 0x59949(%rip), %rsi     # 0xa719b
movq %rsi, -0x48(%rbp)
callq 0xd640
movq -0x30(%rbp), %rsi
movq %rax, %rdi
callq 0xd6e0
movq -0x28(%rbp), %rdi
leaq 0x5992c(%rip), %rsi     # 0xa719e
callq 0xd640
movq -0x60(%rbp), %rdi
movq %rax, -0x68(%rbp)
callq 0xfd80
movq -0x68(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0x1c(%rax), %eax
cvtsi2sd %rax, %xmm1
divsd %xmm1, %xmm0
callq 0xddc0
movq %rax, %rdi
leaq 0x5a13c(%rip), %rsi     # 0xa79e3
movq %rsi, -0x38(%rbp)
callq 0xd640
movq -0x30(%rbp), %rsi
movq %rax, %rdi
callq 0xd6e0
movq -0x28(%rbp), %rdi
leaq 0x598f5(%rip), %rsi     # 0xa71bc
callq 0xd640
movq -0x60(%rbp), %rdi
movq %rax, -0x58(%rbp)
callq 0xfd80
movq -0x58(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0x18(%rax), %ecx
movl 0x1c(%rax), %eax
imull %ecx, %eax
cvtsi2sd %rax, %xmm1
divsd %xmm1, %xmm0
callq 0xddc0
movq -0x38(%rbp), %rsi
movq %rax, %rdi
callq 0xd640
movq -0x30(%rbp), %rsi
movq %rax, %rdi
callq 0xd6e0
movq -0x28(%rbp), %rdi
leaq 0x598c6(%rip), %rsi     # 0xa71e1
callq 0xd640
movq -0x18(%rbp), %rdi
movq %rax, -0x50(%rbp)
addq $0x48, %rdi
movq %rdi, -0x20(%rbp)
callq 0xfd00
movq -0x50(%rbp), %rdi
callq 0xddc0
movq -0x48(%rbp), %rsi
movq %rax, %rdi
callq 0xd640
movq -0x30(%rbp), %rsi
movq %rax, %rdi
callq 0xd6e0
movq -0x28(%rbp), %rdi
leaq 0x59897(%rip), %rsi     # 0xa71f8
callq 0xd640
movq -0x20(%rbp), %rdi
movq %rax, -0x40(%rbp)
callq 0xfd80
movq -0x40(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0x1c(%rax), %eax
cvtsi2sd %rax, %xmm1
divsd %xmm1, %xmm0
callq 0xddc0
movq -0x38(%rbp), %rsi
movq %rax, %rdi
callq 0xd640
movq -0x30(%rbp), %rsi
movq %rax, %rdi
callq 0xd6e0
movq -0x28(%rbp), %rdi
leaq 0x5986f(%rip), %rsi     # 0xa721e
callq 0xd640
movq -0x20(%rbp), %rdi
movq %rax, -0x10(%rbp)
callq 0xfd80
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rdi
movl 0x18(%rax), %ecx
movl 0x1c(%rax), %eax
imull %ecx, %eax
cvtsi2sd %rax, %xmm1
divsd %xmm1, %xmm0
callq 0xddc0
movq %rax, %rdi
leaq 0x59ff9(%rip), %rsi     # 0xa79e3
callq 0xd640
movq %rax, %rdi
movq 0xad597(%rip), %rsi     # 0xfaf90
callq 0xd6e0
addq $0x80, %rsp
popq %rbp
retq
nopw (%rax,%rax)