codecheck清理

Signed-off-by:Federer-JC <jincong4@huawei.com>

Signed-off-by: Federer-JC <jincong4@huawei.com>
This commit is contained in:
Federer-JC 2024-11-22 10:14:29 +08:00
parent 1d7a6c73e9
commit 8e8147cbda
2 changed files with 5 additions and 2 deletions

View File

@ -854,7 +854,8 @@ void StartTraceChain(uint64_t label, const struct HiTraceIdStruct* hiTraceId, co
AddHitraceMeterMarker(MARKER_BEGIN, label, value, 0, hiTraceId);
}
void StartAsyncTraceDebug(bool isDebug, uint64_t label, const std::string& value, int32_t taskId, float limit UNUSED_PARAM)
void StartAsyncTraceDebug(bool isDebug, uint64_t label, const std::string& value, int32_t taskId,
float limit UNUSED_PARAM)
{
if (!isDebug) {
return;

View File

@ -296,9 +296,11 @@ def generate_one_event_str(data, cpu_id, time_stamp, one_event):
return event_str
format_miss_cnt = 0
format_miss_set = set()
def parse_one_event(data, event_id, cpu_id, time_stamp):
global format_miss_cnt
global format_miss_set
@ -486,7 +488,7 @@ def parse_binary_trace_file():
print("%d" % miss_format_id)
for name in get_not_found_foramt:
print("Error: function parse_" + name + " not found")
print("Error: function parse_%s not found" % name)
def main():