Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

performance gain

Sharada_Kulkarni
Beginner
332 Views
Hello,

I have a silly doubt.
I believe speedup=time of serial code / time of parallel code is it right ?
pl. tell me how to find performance gain in percentage(%)

Thanx in advance
Sharada
0 Kudos
1 Solution
jimdempseyatthecove
Honored Contributor III
332 Views

((Serial / Parallel) - 1.) * 100.

If Serial and Parallel are integers, convert to (double) first

View solution in original post

0 Kudos
2 Replies
jimdempseyatthecove
Honored Contributor III
333 Views

((Serial / Parallel) - 1.) * 100.

If Serial and Parallel are integers, convert to (double) first
0 Kudos
Sharada_Kulkarni
Beginner
332 Views

((Serial / Parallel) - 1.) * 100.

If Serial and Parallel are integers, convert to (double) first
Thank you Mr.Jim.You have always given me the right solution.
0 Kudos
Reply