diff options
Diffstat (limited to 'rtiaw.go')
-rw-r--r-- | rtiaw.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,6 +1,15 @@ package main +import ( + "os" + "runtime/pprof" +) + func main() { + f, _ := os.Create("rtiaw.prof"); + pprof.StartCPUProfile(f); + defer pprof.StopCPUProfile(); + var world Hittables; mat_ground := Lambertian{Vec3{0.5, 0.5, 0.5}}; |