Hank Childs, University of Oregon
description
Transcript of Hank Childs, University of Oregon
![Page 1: Hank Childs, University of Oregon](https://reader036.fdocuments.in/reader036/viewer/2022062323/56816468550346895dd65357/html5/thumbnails/1.jpg)
Hank Childs, University of OregonMay 29th, 2015
CIS 330: _ _ _ _ ______ _ _____ / / / /___ (_) __ ____ _____ ____/ / / ____/ _/_/ ____/__ __ / / / / __ \/ / |/_/ / __ `/ __ \/ __ / / / _/_// / __/ /___/ /_ / /_/ / / / / /> < / /_/ / / / / /_/ / / /____/_/ / /__/_ __/_ __/ \____/_/ /_/_/_/|_| \__,_/_/ /_/\__,_/ \____/_/ \____//_/ /_/
Lecture 18 (mini-lecture):Performance Analysis
![Page 2: Hank Childs, University of Oregon](https://reader036.fdocuments.in/reader036/viewer/2022062323/56816468550346895dd65357/html5/thumbnails/2.jpg)
Announcements
• 3G: due Monday• 3H: due “Friday”• 4B: due “Friday”• 4C: due “Friday”• “Friday” not late until June 11th
• And: all work must be turned by June 11th
• And: Project 3 grading may be simplified
![Page 3: Hank Childs, University of Oregon](https://reader036.fdocuments.in/reader036/viewer/2022062323/56816468550346895dd65357/html5/thumbnails/3.jpg)
Jose’s post
![Page 4: Hank Childs, University of Oregon](https://reader036.fdocuments.in/reader036/viewer/2022062323/56816468550346895dd65357/html5/thumbnails/4.jpg)
gettimeofday
(there are lots of Unix system calls, which do lots of different things)
![Page 5: Hank Childs, University of Oregon](https://reader036.fdocuments.in/reader036/viewer/2022062323/56816468550346895dd65357/html5/thumbnails/5.jpg)
gettimeofday example
![Page 6: Hank Childs, University of Oregon](https://reader036.fdocuments.in/reader036/viewer/2022062323/56816468550346895dd65357/html5/thumbnails/6.jpg)
gettimeofday example
![Page 7: Hank Childs, University of Oregon](https://reader036.fdocuments.in/reader036/viewer/2022062323/56816468550346895dd65357/html5/thumbnails/7.jpg)
gettimeofday example
![Page 8: Hank Childs, University of Oregon](https://reader036.fdocuments.in/reader036/viewer/2022062323/56816468550346895dd65357/html5/thumbnails/8.jpg)
gettimeofday example
![Page 9: Hank Childs, University of Oregon](https://reader036.fdocuments.in/reader036/viewer/2022062323/56816468550346895dd65357/html5/thumbnails/9.jpg)
More performance analysis
• gprof: old program … I’m struggling to get it to work
• PAPI: library used widely to capture things like L1 cache misses, stalls, etc
• TAU: full performance analysis infrastructure– made right here at UO
![Page 10: Hank Childs, University of Oregon](https://reader036.fdocuments.in/reader036/viewer/2022062323/56816468550346895dd65357/html5/thumbnails/10.jpg)
Project 4C
• will involve gettimeofday on your Project 3 code
• still figuring what more to do (PAPI?)