mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-09-01 18:48:10 +02:00
Add profile scripts
This commit is contained in:
Executable
+5
@@ -0,0 +1,5 @@
|
||||
import pstats
|
||||
p = pstats.Stats('profile.dat')
|
||||
p.strip_dirs()
|
||||
p.sort_stats('cumulative')
|
||||
p.print_stats(50)
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
python3 -m cProfile -o profile.dat ./openram.py example_config_scn4m_subm.py -v
|
||||
echo "Run view_profile.py to view results"
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
import pstats
|
||||
p = pstats.Stats(‘profile.dat’)
|
||||
p.strip_dirs()
|
||||
p.sort_stats(‘cumulative’)
|
||||
p.print_stats(50)
|
||||
|
||||
Reference in New Issue
Block a user