projects
/
profiler-torch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c57870
)
Update.
author
Francois Fleuret
<francois@fleuret.org>
Tue, 6 Dec 2016 16:34:39 +0000
(17:34 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Tue, 6 Dec 2016 16:34:39 +0000
(17:34 +0100)
profiler.lua
patch
|
blob
|
history
diff --git
a/profiler.lua
b/profiler.lua
index
77461b3
..
9d493c0
100644
(file)
--- a/
profiler.lua
+++ b/
profiler.lua
@@
-77,7
+77,7
@@
function profiler.decorate(model, functionsToDecorate)
end
if not toDecorate[nameOrig] then
- print('Decorating ' .. toDecorate.__typename .. '.' .. name)
+
--
print('Decorating ' .. toDecorate.__typename .. '.' .. name)
toDecorate[nameOrig] = toDecorate[name]
toDecorate[name] = function(self, ...)
local startTime = sys.clock()