Xin Pan
caf10b474f
make profiler use thread_id from g_thread_id
...
Add a few more RecordEvent.
Cleanup
7 years ago
Xin Pan
75ea577fd3
allow profiler and timeline to work when dev_ctx is nullptr.
...
Sometimes dev_ctx is not available when RecordEvent.
7 years ago
Xin Pan
f14e579cc3
clean up
7 years ago
Xin Pan
3cb6395688
better profiler and benchmark
7 years ago
Xin Pan
94c0a64d62
Fix a profiler race condition
...
In multi-thread condition, EnableProfiler can
be called after RecordEvent is constructed. In this
case, RecordEvent constructor will not init anything,
but RecordEvent destructor will do something since EnableProfiler
was called.
This PR fixes it.
7 years ago
fengjiayi
2bff03bc1e
fix a compile error ( #10488 )
7 years ago
Xin Pan
5a9f17f02b
clean up
7 years ago
Xin Pan
76d8b14bce
Add timeline support for distributed training
7 years ago
qingqing01
add367c3f4
Code cleanup in the profiler code. ( #9782 )
7 years ago
Xin Pan
4840c49b27
Better timeline
7 years ago
Yiqun Liu
a032f56f7c
Add profiling information for inference example ( #8748 )
...
* Add profiling information for inference example, recognize digits.
* Refine the profiling method.
* Correct the use of RecordEvent and simplify recognize_digits.
7 years ago
Xin Pan
55b2d3d032
Add CPU time to the timeline.
7 years ago
Xin Pan
12843a3a53
Firt timeline version
7 years ago
Yibing Liu
c0876cf686
update due to upstream's change
7 years ago
Xin Pan
b9ec24c6e9
Extend current profiler for timeline and more features.
7 years ago
qingqing01
24509f4af9
Fix the grammar in copyright. ( #8403 )
7 years ago
Yi Wang
fc374821dd
Correct #include path
7 years ago
Yi Wang
90648f336d
Move file to fluid/; Edit CMakeLists.txt
7 years ago