Nav apraksta
chenqinghe b0e252bc98 init project 4 gadus atpakaļ
..
sample init project 4 gadus atpakaļ
README.md init project 4 gadus atpakaļ
sample.bin init project 4 gadus atpakaļ
sample.cpu init project 4 gadus atpakaļ
source.dot init project 4 gadus atpakaļ
source.rpt init project 4 gadus atpakaļ
source1 init project 4 gadus atpakaļ
source2 init project 4 gadus atpakaļ

README.md

sample/ contains a sample program that can be profiled. sample.bin is its x86-64 binary. sample.cpu is a profile generated by sample.bin.

To update the binary and profile:

go build -o sample.bin ./sample
./sample.bin -cpuprofile sample.cpu