public static void saveGWDataForSM(GWSaveEntry saveEntry, TagTimeEntry tagTimeEntry) { setLastSaveFolder(saveEntry.path3); String now = GTUtils.getSaveDate(); saveEntry.setNow(now); LogUtils.writeGWDataForSM(saveEntry, tagTimeEntry); LogUtils.writeGWDesc(saveEntry, tagTimeEntry); }
public static void saveAllEnableGWData(GWSaveEntry saveEntry) { setLastSaveFolder(saveEntry.path3); String now = GTUtils.getSaveDate(); saveEntry.setNow(now); TagTimeEntry[] ttes = OpPerfBridge.getAllEnableProfilerData(); for (TagTimeEntry tte : ttes) { if (null != tte && tte.getAlias().equals("SM")) { LogUtils.writeGWDataForSM(saveEntry, tte); } else { LogUtils.writeGWData(saveEntry, tte); } } LogUtils.writeGWDesc(saveEntry, ttes); }