From 792e03a5ccc76eb789e00c2d87e6c39f6d1f7d1f Mon Sep 17 00:00:00 2001 From: JJSierraM <134967638+JJSierraM@users.noreply.github.com> Date: Mon, 29 May 2023 23:30:07 +0200 Subject: [PATCH] Update README.md --- C-optimized/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C-optimized/README.md b/C-optimized/README.md index 0847fb41..df0c21eb 100644 --- a/C-optimized/README.md +++ b/C-optimized/README.md @@ -3,8 +3,8 @@ An optimized version of the original C implementation.
The main changes are an optimization of the mixture function (it passes the functions instead of the whole arrays, reducing in great measure the memory usage and the computation time) and the implementation of multi-threading with OpenMP.
The mean time of execution is 6 ms. With the following distribution: -[![Time histogram](https://imgur.com/a/AzjP7P8)] +![Time histogram](https://i.imgur.com/6iT2PkF.png)
Take into account that the multi-threading introduces a bit of dispersion in the execution time due to the creation and destruction of threads. Also, the time data has been collected by executing the interior of the main() function 1000 times in a for loop, not executing the program itself 1000 times.
-The hardware used has been an AMD 5800x3D and 16GB of DDR4-3200 MHz. \ No newline at end of file +The hardware used has been an AMD 5800x3D and 16GB of DDR4-3200 MHz.