[CIS 2750] - Final Exam Guide - Ultimate 80 pages long Study Guide!

146 views80 pages

Document Summary

Is speed critical (not necessary: takes time money. Profilers: interpret output of gprof: profile is a measurement of where a program spends its time, a profiler is an effective tool for finding hot spots in a program. Areas of sections of code: consuming most of the processing time, parallel profilers. Keeping all cores busy or going to waste, program could conceivably be faster by utilizing them. Not only find hot spots, keep track of core utilization. May guide programmer to more even work distribution aka load balancing. All cores in use, programs finish sooner: less than 4% of a program generally accounts for more than half of its running time. Relation of ansi c"s clock _per_ ec to a(cid:272)tual (cid:272)lo(cid:272)k resolution. Depends on cpu, clocks_per_sec could be off depending on os. Equals 1000000 independent of actual resolution, wrap around 32 bit system will return approx. every 72 minutes. Use better algorithm or data structure tune the code.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents