Toronto ECE 450 - Tutorial 5 - More on Software Quality Measurements (19 pages)

Previewing pages 1, 2, 3, 4, 5, 6 of 19 page document View the full content.
View Full Document

Tutorial 5 - More on Software Quality Measurements



Previewing pages 1, 2, 3, 4, 5, 6 of actual document.

View the full content.
View Full Document

Unformatted text preview:

Tutorial 5 More on Software Quality Measurements How to measure performance How to measure complexity Spring 2005 ECE450H1S Software Engineering II Last lecture On Software Quality Measurements We explained the basics of software measurements and metrics We gave the metrics related to some quality attributes illities We showed performance complexity measurement results with a toy example Spring 2005 ECE450H1S Software Engineering II Today http www cs toronto edu yijun ece450h handouts tools 1 Performance is broken down into Time and Space performance How to measure performance 2 Complexity is the major reason for low Understandability Testability Maintainability How to measure complexity Some examples in Eclipse Spring 2005 ECE450H1S Software Engineering II 1 Measuring Performance 1 System performance Windows Task Manager Linux top command proc cpuinfo 2 Application performance 1 Time metrics clockticks instructions cache TLB misses Timing bin time Profiler gprof java prof HPjmeter jar More comprehensive tools Simulators cache simulator visualizer Hardware performance counters PCL perfmon Intel VTune 2 Space metrics memory size network traffic Spring 2005 Borland optimizeit ECE450H1S Software Engineering II Time Performance Tool bin time werewolf usr bin time Usage usr bin time apvV f format o file append verbose portability format format output file version quiet help command arg Example werewolf software axis 1 1 usr bin time client sh IBM Armonk NY 1 48user 0 07system 0 01 59elapsed 97 CPU 0avgtext 0avgdata 0maxresident k 0inputs 0outputs 2527major 2588minor pagefaults 0swaps What are User time CPU time System Time How to know where the time is spent Spring 2005 ECE450H1S Software Engineering II Profiler Profiler instruments the code by book keeping instructions When the program runs these instructions can be used to tell Which functions are called the most How is time distributed among different functions From these data one can pinpoint the bottleneck of the



View Full Document

Access the best Study Guides, Lecture Notes and Practice Exams

Loading Unlocking...
Login

Join to view Tutorial 5 - More on Software Quality Measurements and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Tutorial 5 - More on Software Quality Measurements and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?