X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=test-profiler.lua;h=71127a0a7965e03b1c47c5d5ec16f5ee19f628cb;hb=a5f00c98459afa86205650ac4d4b474efe2d1949;hp=18677ec0f0bf40c5d651ce969d85779e0033d124;hpb=b8c7166b9123735e8226d34b717d3cbc2dc1fa02;p=profiler-torch.git diff --git a/test-profiler.lua b/test-profiler.lua index 18677ec..71127a0 100755 --- a/test-profiler.lua +++ b/test-profiler.lua @@ -93,9 +93,8 @@ end -- Print the accumulated timings -profiler.print(model, nbSamples, modelTime) --- profiler.print(model) +-- profiler.print(model, nbSamples) +profiler.print(model) -print() print(string.format('Total model time %.02fs', modelTime)) print(string.format('Total data time %.02fs', dataTime))