X hits on this document

115 views

0 shares

0 downloads

0 comments

26 / 42

Copyright 2004 David J. Lilja

26

Execution time

“Stopwatch” measured execution time

Start_count = read_timer();

Portion of program to be measured

Stop_count = read_timer();

Elapsed_time = (stop_count – start_count)

* clock_period;

Measures “wall clock” time

Includes I/O waits, time-sharing, OS overhead, …

“CPU time” -- include only processor time

Document info
Document views115
Page views115
Page last viewedSun Dec 04 19:49:37 UTC 2016
Pages42
Paragraphs615
Words1619

Comments