From 0d32fd7dcdb12fa5972b757c7735c5626fd3c0b3 Mon Sep 17 00:00:00 2001 From: Giovanna Stefanelli <giovanna.stefanelli@student.uclouvain.be> Date: Wed, 22 Apr 2020 20:51:47 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5188155..8588c6b 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,15 @@ Welcome to project 3! This program allows to determine if a number is prime otherwise its prime dividers are calculated. -The numbers to be considered shall be in an file (*.txt) then the programme +The numbers to be considered shall be in an file (*.txt) then the program can be called with this sintax: ./fact [-N number_of_threads] input_file.txt output_file.txt Whether the number of threads is not defined, the default number of threads is 2. -The programme performance could not increase with a too high number of threads +The program performance could not increase with a too high number of threads because, above all, it will depend on the machine architecture (e.g. number of cores). -The maximum number of threads allowed by the programme is 20, nevertheless -the programme "fact" can be updated by changing the constant MAX_NO_THREADS +The maximum number of threads allowed by the program is 20, nevertheless +the program "fact" can be updated by changing the constant MAX_NO_THREADS (#define MAX_NO_THREADS 20). -- GitLab