Write a report (EC1_Document.pdf) comparing the efficiency of multilevel array and multi- dimensional array. Your report should include the following: 1. Description of your test code(EC1_TestCode.c) a. What function(s) are you using to benchmarking multilevel array and multidimensional array 2. Brief introduction to the profiler you used. a. gprof or any other profiler/tool (I would be happy to learn something new from you) 3. Your test settings/parameters (number of Rows (R), Columns (C)) 4. You can use random number generator function to generate the value to be stored in the arrays. 5. Observation under different parameter settings. a. Example settings (these are just examples you can plan your own settings): i. Fixing R: [R= 1000, C=1000], [R=1000, C=10,000], [R= 1000, C= 100,000], and so on. ii. Fixing C: [R=1000, C=1000], [R=100,00, C=1000], [R=100,000, C=1000] and so on. b. You can also draw graphs to demonstrate the observation.
Write a report (EC1_Document.pdf) comparing the efficiency of multilevel array and multi-
dimensional array. Your report should include the following:
1. Description of your test code(EC1_TestCode.c)
a. What function(s) are you using to benchmarking multilevel array and multidimensional array
2. Brief introduction to the profiler you used.
a. gprof or any other profiler/tool (I would be happy to learn something new from you)
3. Your test settings/parameters (number of Rows (R), Columns (C))
4. You can use random number generator function to generate the value to be stored in the
arrays.
5. Observation under different parameter settings.
a. Example settings (these are just examples you can plan your own settings):
i. Fixing R: [R= 1000, C=1000], [R=1000, C=10,000], [R= 1000, C= 100,000], and so on.
ii. Fixing C: [R=1000, C=1000], [R=100,00, C=1000], [R=100,000, C=1000] and so on.
b. You can also draw graphs to demonstrate the observation.
c. Note: You may not be able to select large parameter values if you are allocating the memory in stack (use dynamic memory allocation).
6. Analysis of your observations.
7. Provide the details of you test environment:
a.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps