Browse Source

!737 sync ge_dev to master 20221116

Merge pull request !737 from 王涛/ge_dev
master
王涛 Gitee 2 years ago
parent
commit
0d78b51419
No known key found for this signature in database GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      parser/common/acl_graph_parser_util.h

+ 2
- 2
parser/common/acl_graph_parser_util.h View File

@@ -215,13 +215,13 @@ inline domi::Status CheckInt64Uint32MulOverflow(int64_t a, uint32_t b) {
uint64_t endUsec_##stage = ge::parser::GetCurrentTimestamp(); \
GELOGI("[GEPERFTRACE] The time cost of %s is [%lu] micro second.", (stage_name), \
(endUsec_##stage - startUsec_##stage)); \
} while (0);
} while (0)

#define PARSER_TIMESTAMP_EVENT_END(stage, stage_name) \
do { \
uint64_t endUsec_##stage = ge::parser::GetCurrentTimestamp(); \
GEEVENT("[GEPERFTRACE] The time cost of %s is [%lu] micro second.", (stage_name), \
(endUsec_##stage - startUsec_##stage)); \
} while (0);
} while (0)

#endif // ACL_GRAPH_PARSE_UTIL_

Loading…
Cancel
Save