From 6e014ca5ce263e96549236b5bf4f2379467b9e2b Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 27 Sep 2021 13:13:17 +0300 Subject: setting up git on old project --- README | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 README (limited to 'README') diff --git a/README b/README new file mode 100644 index 0000000..012f747 --- /dev/null +++ b/README @@ -0,0 +1,27 @@ +the executable takes these arguments +-t num EXECUTES OVER NUM THREADS +-n num GENERATES A RANDOM MATRIX AND USES IT AS AN INPUT +-i file USES FILE AS AN INPUT ( CONFLICTS WITH -n ) +-q DOES NOT PRINT DEBUGGING INFO +-dm file DUMPS THE MATRIX THAT IS USED INTO FILE + +ksks +#MAX_DIGITS in input.c limits the max digits in a randomly generated matrix + +using: +gmp.h +posix threads + +./tests/test.sh [SIZE OF MATRIX] [FROM_THREADS] [TO_THREADS] +COMPILES AND RUNS THE EXECUTABLE OVER FROM_THREADS TO TO_THREADS OVER RANDOM MATRIX WITH GIVEN SIZE(THE SAME MATRIX IS USED FOR ALL THE TESTS). +ADDITIONALLY IT RUNS THE EXECUTABLE OVER A 'WORST CASE SCENARIO' MATRIX WITH ONE VERY HEAVY ROW AT THE END. +THE RESULTS ARE LOGGED AT: +./test/times/normal/ THE TIME MEASUREMENTS OVER THE FIRST RANDOM MATRIX +./test/times/heavy/ THE TIME MEASUREMENTS OVER THE HEAVY MATRIX +./test/logs/ CONDENSED TIME MEASUREMENTS AND OTHER OUTPUT +./test/Rstuff/ MEASUREMENTS DIGESTED FOR R PLOTTING +example + ./tests/test.sh 100 15 32 RUNS THE EXECUTABLE WITH 15 TO 32 THREADS OVER A MATRIX 100x100 + +./tests/purge.sh PURGES ALL OF THE COLLECTED DATA + -- cgit v1.2.3