// File: luisremis[P]SDFS/Chrono.cpp
// Function: Chrono::printStats(Chrono::ChronoStats const&, std::ostream&) const
std::ostream& Chrono::printStats(const Chrono::ChronoStats& stats, std::ostream& os) const
{
	os.precision(2);
	os << fixed;
	os << name << ": " << stats.name << endl;
	os << "\terrors: " 		<< errors << endl;
	os << "\ttotalTime: "   << stats.totalTime_ms   << " [ms]" << endl;
	os << "\taverageTime: " << stats.averageTime_ms << " [ms]" << endl;
	os << "\tstdDevTime: "  << stats.stdDevTime_ms  << " [ms]" << endl;
	os << "\tlastTime: "    << stats.lastTime_ms    << " [ms]" << endl;
	os << "\tminTime: "     << stats.minTime_ms     << " [ms]" << endl;
	os << "\tmaxTime: "     << stats.maxTime_ms     << " [ms]" << endl;

	return os;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0x2, %esi
callq 0x1bd10
movq -0x18(%rbp), %rdi
leaq 0x564(%rip), %rsi       # 0x1bd40
callq 0x4180
movq -0x20(%rbp), %rsi
movq -0x18(%rbp), %rdi
addq $0x8, %rsi
callq 0x4370
movq %rax, %rdi
leaq 0xc1f(%rip), %rsi       # 0x1c41b
callq 0x43f0
movq %rax, %rdi
movq -0x10(%rbp), %rsi
callq 0x4370
movq %rax, %rdi
movq 0xb791(%rip), %rsi      # 0x26fa8
callq 0x4410
movq -0x18(%rbp), %rdi
leaq 0x1720(%rip), %rsi      # 0x1cf47
callq 0x43f0
movq %rax, %rdi
movq -0x20(%rbp), %rax
movl 0x2c(%rax), %esi
callq 0x44e0
movq %rax, %rdi
movq 0xb763(%rip), %rsi      # 0x26fa8
callq 0x4410
movq -0x18(%rbp), %rdi
leaq 0x16fc(%rip), %rsi      # 0x1cf51
callq 0x43f0
movq %rax, %rdi
movq -0x10(%rbp), %rax
movss 0x24(%rax), %xmm0
callq 0x42e0
movq %rax, %rdi
leaq 0x16e9(%rip), %rsi      # 0x1cf5e
callq 0x43f0
movq %rax, %rdi
movq 0xb724(%rip), %rsi      # 0x26fa8
callq 0x4410
movq -0x18(%rbp), %rdi
leaq 0x16d0(%rip), %rsi      # 0x1cf64
callq 0x43f0
movq %rax, %rdi
movq -0x10(%rbp), %rax
movss 0x2c(%rax), %xmm0
callq 0x42e0
movq %rax, %rdi
leaq 0x16aa(%rip), %rsi      # 0x1cf5e
callq 0x43f0
movq %rax, %rdi
movq 0xb6e5(%rip), %rsi      # 0x26fa8
callq 0x4410
movq -0x18(%rbp), %rdi
leaq 0x16a0(%rip), %rsi      # 0x1cf73
callq 0x43f0
movq %rax, %rdi
movq -0x10(%rbp), %rax
movss 0x30(%rax), %xmm0
callq 0x42e0
movq %rax, %rdi
leaq 0x166b(%rip), %rsi      # 0x1cf5e
callq 0x43f0
movq %rax, %rdi
movq 0xb6a6(%rip), %rsi      # 0x26fa8
callq 0x4410
movq -0x18(%rbp), %rdi
leaq 0x166f(%rip), %rsi      # 0x1cf81
callq 0x43f0
movq %rax, %rdi
movq -0x10(%rbp), %rax
movss 0x34(%rax), %xmm0
callq 0x42e0
movq %rax, %rdi
leaq 0x162c(%rip), %rsi      # 0x1cf5e
callq 0x43f0
movq %rax, %rdi
movq 0xb667(%rip), %rsi      # 0x26fa8
callq 0x4410
movq -0x18(%rbp), %rdi
leaq 0x163c(%rip), %rsi      # 0x1cf8d
callq 0x43f0
movq %rax, %rdi
movq -0x10(%rbp), %rax
movss 0x38(%rax), %xmm0
callq 0x42e0
movq %rax, %rdi
leaq 0x15ed(%rip), %rsi      # 0x1cf5e
callq 0x43f0
movq %rax, %rdi
movq 0xb628(%rip), %rsi      # 0x26fa8
callq 0x4410
movq -0x18(%rbp), %rdi
leaq 0x1608(%rip), %rsi      # 0x1cf98
callq 0x43f0
movq %rax, %rdi
movq -0x10(%rbp), %rax
movss 0x3c(%rax), %xmm0
callq 0x42e0
movq %rax, %rdi
leaq 0x15ae(%rip), %rsi      # 0x1cf5e
callq 0x43f0
movq %rax, %rdi
movq 0xb5e9(%rip), %rsi      # 0x26fa8
callq 0x4410
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nop