Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 26-Feb-2021 | - | ||||
sample/ | H | 26-Feb-2021 | - | 56 | 35 | |
README.md | H A D | 26-Feb-2021 | 255 | 11 | 8 | |
source.dot | H A D | 26-Feb-2021 | 2.5 KiB | 18 | 17 | |
source.rpt | H A D | 26-Feb-2021 | 2.2 KiB | 50 | 49 | |
source1 | H A D | 26-Feb-2021 | 298 | 20 | 18 | |
source2 | H A D | 26-Feb-2021 | 298 | 20 | 18 |
README.md
1sample/ contains a sample program that can be profiled. 2sample.bin is its x86-64 binary. 3sample.cpu is a profile generated by sample.bin. 4 5To update the binary and profile: 6 7```shell 8go build -o sample.bin ./sample 9./sample.bin -cpuprofile sample.cpu 10``` 11