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