Example #1
0
 public static void saveGWData(GWSaveEntry saveEntry, TagTimeEntry tagTimeEntry) {
   setLastSaveFolder(saveEntry.path3);
   String now = GTUtils.getSaveDate();
   saveEntry.setNow(now);
   LogUtils.writeGWData(saveEntry, tagTimeEntry);
   LogUtils.writeGWDesc(saveEntry, tagTimeEntry);
 }
Example #2
0
 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);
 }