X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=profiler-torch.git;a=blobdiff_plain;f=profiler.lua;h=b363a60a3cb76b7af10ddde42b431be6566f15ca;hp=d61e5db8ee843727287119358f90b3070fbb61d6;hb=d111b18c7c8fbe16ae9b01facf6a876c6cc50e83;hpb=72cc22e03bac4818cbff9eb826816c2f00b5863d diff --git a/profiler.lua b/profiler.lua index d61e5db..b363a60 100644 --- a/profiler.lua +++ b/profiler.lua @@ -130,7 +130,7 @@ function profiler.print(model, nbSamples, totalTime, indent) end print(profiler.timingString(indent .. hint .. model.__typename, - localTotal, nbSamples, totalTime)) + localTotal, nbSamples, totalTime)) for l, t in pairs(model.accTime) do print(profiler.timingString(indent .. ' :' .. l, t, nbSamples, totalTime))