mirror of https://github.com/VLSIDA/OpenRAM.git
7 lines
115 B
Python
7 lines
115 B
Python
|
|
import pstats
|
|||
|
|
p = pstats.Stats(‘profile.dat’)
|
|||
|
|
p.strip_dirs()
|
|||
|
|
p.sort_stats(‘cumulative’)
|
|||
|
|
p.print_stats(50)
|
|||
|
|
|