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