

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


i=0; i<
F(i) != 0
x=1/F(i) (^) x=
i=i++;i<
return
for(i=0;i<10;i++) { if(f(i) != 0) x=1/f(i); else x=0; }
Basic block counting
Memory bottlenecks
ย Identify bottlenecks by comparing actual
execution time to an estimated execution
time that assumes optimal memory access
ย Use initial profile run to select target regions
Estimating optimal memory
ย Estimated compute time for basic block *
basic block count
ย RISC architecture allows for estimation of
compute time except in
ย Memory accesses
Synchronization bottlenecks
ย Waiting at barrier
ย Lock contention
ย Sequential executions in master process
Case study 1
Case study 2