→Basic Sound Scale Program
Get the files for this lab on one of the ARMv8 AArch64 [[SPO600 Servers]] -- but you can perform the lab wherever you want.
# Unpack the archive <code>/public/spo600
# Examine the <code>vol1.c</code> source code. This program:
## Creates 500,000 random "sound samples" in an input array (the number of samples is set in the <code>vol.h</code> file).
#* Does it produce the same output each time?
# Test the performance of this program. Adjust the number of samples as necessary.
#* How long does it take to run?
#* How much time is spent scaling the sound samples?
#* Do multiple runs take the same time?
=== Alternate Approaches ===