Is a program that obtains linear speedup strongly scalable? Explain your answer.
Bob has a program that he wants to time with two sets of data, input data1
and input data2. To get some idea of what to expect before adding timing
functions to the code he’s interested in, he runs the program with two sets of
data and the Unix shell command time:
$ time ./bobs prog <>
real 0m0.001s
user 0m0.001s
sys 0m0.000s
real 1m1.234s
user 1m0.001s
sys 0m0.111s
The timer function Bob is using has millisecond resolution. Should Bob use
it to time his program with the first set of data? What about the second set of
data? Why or why not?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here