Sale!

CSC 461 PA4 Memory System: Part A & Part B solved

Original price was: $30.00.Current price is: $25.00. $21.25

Category:

Description

5/5 - (2 votes)

• Submit program to perforce in your student directory
o Sub directory called:
 /PA4/…
o Fill out your PA4 Submission Report.pdf
 Place it in the same directory as your solution
 Enter the final Changelist number of your submission
 Enter the number of test passed
• Requires 15 tests to be passed from the supplied tests
• Stress test
 Write up a quick discussion in the report
• What you learned from this assignment so far
• Learn
o To Create a Memory System from scratch
• Understand the internals of a memory system
1. Create a memory system within a heap
• Take the given memory system framework for the heap layout:
o Add the allocators
o Add the de-allocators
• Run the Test functions that handles a set of memory allocation and de-allocations
o Supplied by Instructor
o Part A & B:
 tests 1-15 completed
 stress test
o Copy your work from PA3 and move it to PA4
• Diagram the data structure layout out – to help you.
Optimized C++
Programming Assignment
1 CSC 461 PA4

2. Take Memory system, use the stress test
• Measure the timing with default setting in the compiler
o For the original memory system
o For your custom memory system
• Measure the difference.
o Write the before and after in an output text file
• Instructor will provide the stress tests
o Make sure your program runs all unit tests 1-15
o Make sure it runs the stress test
General:
• Write all programs in cross-platform C or C++.
o Optimize for execution speed and robustness.
• Create a programming file for each problem, for example
o Student directory
 /PA4/memory/…
o Make sure that each problem can be compiled and run through the checked in
solution
• Do all your work by yourself
o Feel free to talk with others about ideas and problems
o But do not copy your friend’s code.
 Please don’t – I can tell with my difference tools
o Feel free to share ideas
• Check in the problems multiple times
o At least 3 times per problem
 For this project it might be closer to 40
o Have reasonable check-in comments
o Seriously, I’m checking
• Make sure that your program compiles and runs
o Warning level 4, some times that is not possible due to MS headers…
o Your code should be squeaky clean.
• We are using Perforce
o You should have received the document describing how to login.
 Please look at the documentation and videos under the reference directory
o Submit program to perforce in your student directory
 Sub directory called: /PA4/…
• As described above
o All your code must compile WARNING FREE from perforce with no modifications.
 Otherwise it’s a 0, no exceptions
o Only Visual Studio 2013 allowed
Optimized C++
Programming Assignment
2 CSC 461 PA4

Simple check list to make sure that everything is checked in correctly
• Do they compile and run without any errors?
• Submitted it into /PA4 directory?
• Did you do the submission report?
• Can you delete you local drive, regrab the PA4 directory?
o Is all the code there?
o Does it compile?
Most assignments will have hints in a section like this.
• Do many little check-ins
o Iteration is easy and it helps.
o Perforce is good at it.
• Look at the lecture notes!
o A lot of good ideas in there.
o The code in the examples work.
• Use the Piazza
o This is much harder than the last assignment.
o See me during office hours.
o Read, explore, ask questions in class
Optimized C++
Programming Assignment
3 CSC 461 PA4