Skip to content

Commit a3df9fd

Browse files
Bill-hbrhbrkmurray
authored andcommitted
Minor grammar fix
1 parent a2b5490 commit a3df9fd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.developers.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ make CMAKE_PARAMS="-DVTR_IPO_BUILD=off" -j8 vpr
994994
995995
# Profiling VTR
996996
997-
1. Install `gprof`, `gprof2dot`, and `xdot`. Specifically, the previous two packages requires python3, and you should install the last one with `sudo apt install` for all the dependencies you will need for visualizing your profile results.
997+
1. Install `gprof`, `gprof2dot`, and `xdot`. Specifically, the previous two packages require python3, and you should install the last one with `sudo apt install` for all the dependencies you will need for visualizing your profile results.
998998
```
999999
pip3 install gprof
10001000
pip3 install gprof2dot
@@ -1011,7 +1011,7 @@ make CMAKE_PARAMS="-DVTR_IPO_BUILD=off" -j8 vpr
10111011
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pg")
10121012
```
10131013
1014-
However, you can also compile directly withoout editing any makefile settings.
1014+
However, you can also compile directly without editing any makefile settings.
10151015
```
10161016
make CMAKE_PARAMS="-DVTR_ENABLE_PROFILING=ON" vpr
10171017
```
@@ -1021,7 +1021,7 @@ make CMAKE_PARAMS="-DVTR_IPO_BUILD=off" -j8 vpr
10211021
gprof $VTR_ROOT/vpr/vpr gmon.out > gprof.txt
10221022
```
10231023
1024-
4. Next, use `gprof2dot` to transform the results to a `.dot` or `.gv` file, which describes how your final profile results will look like. For the `VTR` project, the function names are really long. Therefore, specify `-s` option for a clearer graph.
1024+
4. Next, use `gprof2dot` to transform the results to a `.dot` or `.gv` file, which describes how your final profile results will look like. If you find the function names really long, specify the `-s` option for a clearer graph.
10251025
```
10261026
gprof2dot -s gprof.txt > vpr.dot
10271027
```
@@ -1036,10 +1036,11 @@ make CMAKE_PARAMS="-DVTR_IPO_BUILD=off" -j8 vpr
10361036
xdot vpr.dot
10371037
```
10381038
1039-
7. To save your results as a `png` file, type:
1039+
7. To save your results as a `png` file, use:
10401040
```
10411041
dot -Tpng -Gdpi=300 vpr.dot > vpr.png
10421042
```
1043+
10431044
Note that you can use the `-Gdpi` option to make your picture clearer if you find the default dpi settings not clear enough.
10441045
10451046
# External Subtrees

0 commit comments

Comments
 (0)