Changes

Jump to: navigation, search

Winter 2015 SPO600 Weekly Schedule

194 bytes added, 21:50, 19 January 2015
no edit summary
* Benchmarking
* Profiling
** Profiling with <code>gprof</code>
*** Build with profiling enabled (use the option <code>-pg</code> with both gcc and ld)
*** Run the profile-enabled executable
*** Analyze the data in the <code>gmon.out</code> file
**** <code>gprof ''nameOfBinary''</code> # Displays text profile including call graph
**** <code>gprof ''nameOfBinary'' | gprof2dot | dot | display -</code> # Displays visualization of call graph
 
Resources
* [https://sourceware.org/binutils/docs-2.16/gprof/ GProf Manual]
* [http://www.thegeekstuff.com/2012/08/gprof-tutorial/ Profiling with GProf]
=== Week 1 Deliverables ===
Status Check
* Introductions around the Room
** Name
** Program
** Interest in the course
** Results of <code>gzip</code> benchmarking and most interesting thing you observed
* Check the [[SPO600 Servers|server accounts]] that were set up with your [[SSH]] keys
* Sheets from Last Week
** Open Source Student Agreement
** Survey (Optional)
Working with the Code
*** Linker
** Debug vs. Non-debug/Stripped binaries
** Profiling with <code>gprof</code>
*** Build with profiling enabled (use the option <code>-pg</code> with both gcc and ld)
*** Run the profile-enabled executable
*** Analyze the data in the <code>gmon.out</code> file
**** <code>gprof ''nameOfBinary''</code> # Displays text profile including call graph
**** <code>gprof ''nameOfBinary'' | gprof2dot | dot | display -</code> # Displays visualization of call graph
Looking at How Distributions Package the Code
* Using fedpkg
 
==== Resources ====
* [https://sourceware.org/binutils/docs-2.16/gprof/ GProf Manual]
* [http://www.thegeekstuff.com/2012/08/gprof-tutorial/ Profiling with GProf]
=== Thursday (Jan 22) ===

Navigation menu