mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-11-27 09:01:33 +00:00
处理告警
Signed-off-by: wanglu <1154871698@qq.com>
This commit is contained in:
parent
e707c1cb25
commit
a602bb1131
@ -57,6 +57,9 @@ std::map<std::string, std::string> Network::GetNetworkInfo()
|
||||
}
|
||||
}
|
||||
fclose(fp);
|
||||
if (allTx == 0 && allRx == 0) {
|
||||
return networkInfo;
|
||||
}
|
||||
if (prevTx != 0) {
|
||||
diffTx = allTx - prevTx;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user