projects
/
profiler-torch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added color!
[profiler-torch.git]
/
test-profiler.lua
diff --git
a/test-profiler.lua
b/test-profiler.lua
index
18677ec
..
aa6e800
100755
(executable)
--- a/
test-profiler.lua
+++ b/
test-profiler.lua
@@
-93,9
+93,9
@@
end
-- Print the accumulated timings
-- Print the accumulated timings
+-- profiler.color = false
profiler.print(model, nbSamples, modelTime)
-- profiler.print(model)
profiler.print(model, nbSamples, modelTime)
-- profiler.print(model)
-print()
print(string.format('Total model time %.02fs', modelTime))
print(string.format('Total data time %.02fs', dataTime))
print(string.format('Total model time %.02fs', modelTime))
print(string.format('Total data time %.02fs', dataTime))