Fiix: Profiling never start

This commit is contained in:
Leonid Bugaev
2013-10-29 08:07:27 +01:00
parent c42a42928b
commit 9dddab58d3
+2 -2
View File
@@ -46,8 +46,6 @@ func main() {
log.Fatal("Required at least 1 input and 1 output")
}
gor.Start()
if *memprofile != "" {
profileMEM(*memprofile)
}
@@ -55,6 +53,8 @@ func main() {
if *cpuprofile != "" {
profileCPU(*cpuprofile)
}
gor.Start()
}
func profileCPU(cpuprofile string) {