From 2ebc3746cf14f8d6df4287443891dee8254a5de6 Mon Sep 17 00:00:00 2001 From: RustyRaptor Date: Wed, 22 Sep 2021 15:50:44 -0600 Subject: [PATCH] fixed the comments to have proper dates and changelogs --- padded/padded.c | 7 +++++-- witharray/witharray.c | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/padded/padded.c b/padded/padded.c index 456bf39..5ab5035 100644 --- a/padded/padded.c +++ b/padded/padded.c @@ -1,6 +1,6 @@ // Ziad Arafat -// Created: Aug 31 2021 -// Figure 1.7 in the textbook +// Created: Sep 19 2021 +// Figure 1.11 in the textbook /** * @brief This program will create an array of a specified size and fill it @@ -8,6 +8,9 @@ * the number of threes in the array using a serial method and a parallel method * it will return the counts for each attempt as well as the running times. * + * In this version we will create a struct called padded_int which will contain + * the count as well as a padding of chars set to fill up the chache line of + * the maching we run it on. */ /** diff --git a/witharray/witharray.c b/witharray/witharray.c index bcfb965..05082ef 100644 --- a/witharray/witharray.c +++ b/witharray/witharray.c @@ -1,6 +1,6 @@ // Ziad Arafat -// Created: Aug 31 2021 -// Figure 1.7 in the textbook +// Created: sep 18 2021 +// Figure 1.10 in the textbook /** * @brief This program will create an array of a specified size and fill it