Simulation and modeling - Old Questions
Question Answer Details
10. Differentiate between clock time and simulation time used in system simulation.
Answer
AI Generated Answer
AI is thinking...
Official Answer
Clock Time | Simulation Time |
It is the total amount of time for which the CPU remains active. | It is the total amount of time that CPU spends for simulation. |
Clock time is measured continuously through all the operations that a CPU undergoes. | Simulation time only deals with the amount of time eleavated for simulation. |
It is usually more. | It is usually less. |
Let us take an example, where CPU is running for 6 seconds and now it performs a calculation for 0.01 second and stops the calculation, again the CPU runs for 5 more seconds.
So, Clock time= total time CPU is active =6+5 secs = 11 seconds
Simulation time = Time taken by CPU to perform calculation = 0.01 seconds