Lab4. For this lab we're testing out a few things we talked about in regards to optimizing, as this is still a work in progress I'll flesh out the rest of the post later.
This is our starting file, pretty basic, we'll have 5 million random sound samples created by RNG. Scale the volume of all the samples by 0.75 then sum up the data. A few run of the command
time ./(file_name_here)
provided the following outputs. The following provides a breakdown of what each section is
real - total elapsed time
user - amount of cpu time spent in user mode
sys - amount of cpu time spent in the OS/system
One factor to account for the variance. This is run on a system shared by 30-40 other classmates. If there's a few of us attempting to generate 5 million samples and scaling them, a few times, that could cause it to take longer than usual.
No comments:
Post a Comment