Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computer
science, performance prediction means to estimate the execution time or
other performance factors (such as cache misses) of a program on a given
computer. It is being widely used for computer architects to evaluate
new computer designs, for compiler writers to explore new optimizations,
and also for advanced developers to tune their programs.Another type of
simulators, trace-based simulators do not run every instruction, but run
a trace file which store important program events only. It loses some
flexibility and accuracy compared to cycle-accurate simulation mentioned
above but can be much faster. The generation of traces often consumes
considerable amounts of storage space and can severely impact on the
runtime of applications is large amount of data are recorded during
execution.