https://github.com/patwie/nvprof2json
https://github.com/patwie/nvprof2json
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/patwie/nvprof2json
- Owner: PatWie
- License: gpl-3.0
- Created: 2019-05-30T16:14:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-02T16:01:22.000Z (over 6 years ago)
- Last Synced: 2024-10-30T07:28:02.474Z (12 months ago)
- Language: Go
- Size: 362 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nvprof2json
[](https://ci.patwie.com/PatWie/nvprof2json)
A small self-contained binary that converts the output of nvprof into a json file for visualization in the Chrome browser.
No external dependencies, just download the [latest release](https://github.com/PatWie/nvprof2json/releases) here from GitHub and run```bash
nvprof -o main.nvvp ./main
nvprof2json -o main.json main.nvvp
```Point the Chrome browsers to `chrome://tracing/` and load `main.json`
![]()
```
Usage:
nvprof2json [OPTIONS] fileApplication Options:
-o, --output= output file for Chrome tracing (default: [nvvpfile].json)
-v, --verbose verbose logging
-p, --pretty ident and prettify JSON output
-f override output file if existsHelp Options:
-h, --help Show this help messageArguments:
file: output from nvprof, e.g., 'nvprof -o [file] [your-app]'```
**Alternatives**
There exists [proof-of-concept](https://github.com/ezyang/nvprof2json) written in Python with less features.