небольшие правки

This commit is contained in:
2026-04-18 11:21:11 +03:00
parent 4646dd2b70
commit 855bdcc3f9
6 changed files with 9 additions and 2 deletions

Binary file not shown.

View File

@@ -67,8 +67,15 @@ define measure_time
$(2); \
end=$$(date +%s); \
duration=$$((end - start)); \
echo "$(1): $$duration сек" >> $(TIMING_FILE); \
echo "$(GREEN)$(1) завершён за $$duration сек$(NC)"
if [ $$duration -ge 60 ]; then \
min=$$((duration / 60)); \
sec=$$((duration % 60)); \
time_str="$${min}m $${sec}s"; \
else \
time_str="$${duration}s"; \
fi; \
echo "$(1): $$time_str" >> $(TIMING_FILE); \
echo "$(GREEN)$(1) завершён за $$time_str$(NC)"
endef
define print_timing_summary