Professional Documents
Culture Documents
Lecture 4
Lecture 4
Lecture: 4
Performance Measure:
1- Response Time (Execution Time): time between start and completion of an event
2- Throughput: Total amount of work in a given time
مثال المحاضرة لو عندك عربية بورش و اتوبيس نقل عام وانت وواحد عايزين تروحوا من القاهرة ل اسكندرية االحسن من
افراد فاتوبيس النقل هيبقي افضل من البورش من حيث الكمية في وقت معين10 اما لو انتوا مثال. حيث الوقت اكيد البورش
1- Architecture
2- Implementations of same architecture
3- Compilers for the same architecture and implementations
4- OS
1
Performance =
Execution Time
N times Faster
performance x
performance y
=n يعني ده اسرع من ده باد ايه
Ex: if computer A runs a program in 10 sec and computer B runs the same program in 15 sec. how much
faster is A than B?
performance A 1/ Execution A Execution B 15
= = = = 1.5
performance B 1/Execution B Execution A 10
Terminology
1
Mhz → one million cycles per sec ………… cycle = 𝑠𝑒𝑐
106