From 418fabfc001bc33a6f1f8150d7cbef1a321ef29a Mon Sep 17 00:00:00 2001 From: j2-mcdaid <jack2.mcdaid@live.uwe.ac.uk> Date: Fri, 6 Dec 2024 19:22:03 +0000 Subject: [PATCH] Add new file --- Worksheets/Worksheet2/Task 3/READme.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Worksheets/Worksheet2/Task 3/READme.md diff --git a/Worksheets/Worksheet2/Task 3/READme.md b/Worksheets/Worksheet2/Task 3/READme.md new file mode 100644 index 0000000..b990b8d --- /dev/null +++ b/Worksheets/Worksheet2/Task 3/READme.md @@ -0,0 +1,15 @@ +<h1>Task 3</h1> + +[Worksheet 2](https://gitlab.uwe.ac.uk/j2-mcdaid/advanced-systems-programming/-/tree/main/Worksheets/Worksheet2) | [Task 1](https://gitlab.uwe.ac.uk/j2-mcdaid/advanced-systems-programming/-/tree/main/Worksheets/Worksheet2/Task%201) | [Task 2](https://gitlab.uwe.ac.uk/j2-mcdaid/advanced-systems-programming/-/tree/main/Worksheets/Worksheet2/Task%202) <br/> + +Task 3 invloves two key aspects, creating an allocator that bumps downwords and creating a set of benchmarks to assess performance.<br/> + +<h3>step 1 - Downward bump allocator</h3> + +The allocator has to be modified from before in several key areas. Primarily in where the pointer starts and increments, and in how the remaining memory is calculated. Fortunateley these modifications are quite simple, only needing a few changes in the "alloc" template:<br/> + +<br/><br/> + +<h3>Step 2 - benchmarks</h3> + +The benchmarks are more complicated to create with the creation of a template to more easily implement multiple benchmarks and of a library of different benchmarks to get an accurate idea of efficiency. \ No newline at end of file -- GitLab