From 1ef4d7f2d8b036dd931696e6dcf9076941ebe4b3 Mon Sep 17 00:00:00 2001 From: Alex Schenk <134595144+alx-sch@users.noreply.github.com> Date: Sun, 13 Oct 2024 19:16:50 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b2aff41..6f09ef9 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,10 @@ Add some flair to the philosopher's dinner by enabling additional visualization and simulation details. Compile with `make FANCY=1` to activate this feature. - +fancy_printing.png ## Comparing `usleep` with a Custom Wait Function -I have implemented a custom wait function to address common issues with `usleep`, such as inconsistent delays. To illustrate the performance differences, I have included a test script: `test_usleep.c`. +I have implemented a custom wait function to address common issues with `usleep`, such as inconsistent delays. To illustrate the performance differences, I have included a test script: [`test_usleep.c`](https://github.com/alx-sch/42_philosophers/blob/main/test_usleep.c). You can use this script to compare the performance of `usleep()` and the custom wait function. The script measures the accuracy and consistency of both functions over multiple runs.