Hank Childs, University of Oregon

10
Hank Childs, University of Oregon May 29 th , 2015 CIS 330: _ _ _ _ ______ _ _____ / / / /___ (_) __ ____ _____ ____/ / / ____/ _/_/ ____/__ __ / / / / __ \/ / |/_/ / __ `/ __ \/ __ / / / _/_// / __/ /___/ /_ / /_/ / / / / /> < / /_/ / / / / /_/ / / /____/_/ / /__/_ __/_ __/ \____/_/ /_/_/_/|_| \__,_/_/ /_/\__,_/ \____/_/ \____//_/ /_/ Lecture 18 (mini-lecture): Performance Analysis

description

- PowerPoint PPT Presentation

Transcript of Hank Childs, University of Oregon

Page 1: Hank Childs, University of Oregon

Hank Childs, University of OregonMay 29th, 2015

CIS 330: _ _ _ _ ______ _ _____ / / / /___ (_) __ ____ _____ ____/ / / ____/ _/_/ ____/__ __ / / / / __ \/ / |/_/ / __ `/ __ \/ __ / / / _/_// / __/ /___/ /_ / /_/ / / / / /> < / /_/ / / / / /_/ / / /____/_/ / /__/_ __/_ __/ \____/_/ /_/_/_/|_| \__,_/_/ /_/\__,_/ \____/_/ \____//_/ /_/

Lecture 18 (mini-lecture):Performance Analysis

Page 2: Hank Childs, University of Oregon

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

Jose’s post

Page 4: Hank Childs, University of Oregon

gettimeofday

(there are lots of Unix system calls, which do lots of different things)

Page 5: Hank Childs, University of Oregon

gettimeofday example

Page 6: Hank Childs, University of Oregon

gettimeofday example

Page 7: Hank Childs, University of Oregon

gettimeofday example

Page 8: Hank Childs, University of Oregon

gettimeofday example

Page 9: Hank Childs, University of Oregon

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

Project 4C

• will involve gettimeofday on your Project 3 code

• still figuring what more to do (PAPI?)