(start_time: int | float)
| 63 | |
| 64 | |
| 65 | def render_statistics(start_time: int | float) -> str: |
| 66 | duration = format_time(time.time() - start_time) |
| 67 | memory = format_memory_size(memory_usage()) |
| 68 | cpu = psutil.cpu_percent(interval=1) |
| 69 | return f"CPU: {cpu}%, memory: {memory}, duration: {duration})" |
no test coverage detected