Can anyone please help me ???

Write code that sums the values in an array. Measure the run time of the code as a function of the size of the array and calculate the bandwidth achieved. Increase the size from a single element array to 1GB in powers of two or similar. Graph the results. And explain what you see. You might want to try non-powers of 2 in regions of the graph were "interesting" things happen.

For extra credit, use a similar methodology to measure memory latency. (Hint: Stride 1 memory access won't work here.)

Thank you for your reply

if you can please help me in all of it ???

Of course not. Who do you think you are?