X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=profiler-torch.git;a=blobdiff_plain;f=test-profiler.lua;h=6d98b2a22a9c6badb4ce4e3a48dda9f69d7041d5;hp=d17f320f27c43bb69e9298121238a0e1ea126933;hb=ac1c4d6fc4926dadc6b69fd17a54419e403530a6;hpb=7ed979a52f0af620b9287454d6a5881aebbbb2df diff --git a/test-profiler.lua b/test-profiler.lua index d17f320..6d98b2a 100755 --- a/test-profiler.lua +++ b/test-profiler.lua @@ -86,7 +86,8 @@ end -- Print the accumulated timings -profiler.print(model, nbSamples) +-- profiler.print(model, nbSamples) +profiler.print(model) print() print(string.format('Total model time %.02fs', modelTime))