提交 204949f9 authored 作者: Frederic's avatar Frederic

cvm profiler now print compile time.

上级 fd31151d
...@@ -373,6 +373,9 @@ class ProfileStats(object): ...@@ -373,6 +373,9 @@ class ProfileStats(object):
if local_time > 0: if local_time > 0:
print >> file, ' Time in thunks: %es (%.3f%%)' %( print >> file, ' Time in thunks: %es (%.3f%%)' %(
local_time, 100*local_time / self.fct_call_time) local_time, 100*local_time / self.fct_call_time)
print >> file, ' Total compile time: %es' % self.compile_time
print >> file, ' Theano Optimizer time: %es' % self.optimizer_time
print >> file, ' Theano Linker time(include c, cuda code generation/compiling): %es' % self.linker_time
print >> file, '' print >> file, ''
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论