public static void clearAllEnableGWData() { TagTimeEntry[] ttes = OpPerfBridge.getAllEnableProfilerData(); for (TagTimeEntry tte : ttes) { tte.clear(); // 如果是流量数据,还要同时reset String key = tte.getName(); NetUtils.clearNetValue(key); } }
public void clearAllCache() { if (started) { return; } startedOnceUntilNotClear = false; if (null != groupMap) { for (GroupTimeEntry gte : groupMap.values()) { for (TagTimeEntry tte : gte.entrys()) { tte.clear(); } gte.clear(); } groupMap.clear(); } }