File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ limitations under the License. */
1414
1515#ifndef HL_TIME_H_
1616#define HL_TIME_H_
17-
17+ # include < cstdint >
1818/* *
1919 * @brief High resolution timer.
2020 *
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ limitations under the License. */
1515#include " hl_time.h"
1616#include < stdlib.h>
1717#include < chrono>
18+ #include < cstdint>
1819#include < iostream>
1920
2021using std::chrono::high_resolution_clock;
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ limitations under the License. */
2525
2626#include " Locks.h"
2727#include " Logging.h"
28- #include " Stat.h"
2928#include " ThreadLocal.h"
3029
3130namespace paddle {
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ See the License for the specific language governing permissions and
1313limitations under the License. */
1414
1515#pragma once
16+ // clang-format off
17+ #include " paddle/utils/Util.h"
1618
1719#ifndef PADDLE_NO_PYTHON
1820// must include the following two blocks, otherwise,
@@ -33,13 +35,12 @@ limitations under the License. */
3335#endif
3436#include < Python.h>
3537#include < frameobject.h>
36-
3738#endif
3839
3940#include < stdarg.h>
4041#include < map>
4142#include < mutex>
42- # include " paddle/utils/Util.h "
43+ // clang-format on
4344
4445namespace paddle {
4546
You can’t perform that action at this time.
0 commit comments