https://github.com/drom/verilator-perf
https://github.com/drom/verilator-perf
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/drom/verilator-perf
- Owner: drom
- License: apache-2.0
- Created: 2022-05-04T18:20:19.000Z (about 4 years ago)
- Default Branch: trunk
- Last Pushed: 2023-10-25T17:35:48.000Z (over 2 years ago)
- Last Synced: 2025-01-24T19:41:18.690Z (over 1 year ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Install
```
npm i
```
## Build viewer
```
npm run build
```
## Start web server
```
./node_modules/.bin/http-server app
```
## Run profiler
https://veripool.org/guide/latest/simulating.html#profiling
```
gprof system_example_bare > gprof_42.out
```
## View profiling data
copy profiling output file into `app` folder
```
cp gprof_42.out app
```
Create a category file in JSON `view.json`
...how it look like
open viewer in the browser with URL string:
```
http://127.0.0.1:8080/?local=gprof_42.out&local=view.json
```