//============================================================ public static void ProcessAll(HSystemRunner runner) { RSpeedTest.TestStart(); try { runner(); } catch (Exception e) { _logger.Error(null, "ProcessAll", null, e.Message); } finally { RSystem.Release(); _logger.Debug(null, "ProcessAll", "Run all in time {0}", RSpeedTest.TestEnd().Dump()); } }
//============================================================ public static void Process(HSystemRunner runner) { RSpeedTest.TestStart(); try { runner(); } catch (Exception e) { _logger.Fatal(null, "Process", e); throw new FFatalException(e); } finally { RSystem.Release(); _logger.Debug(null, "Process", "Run all in time {0}", RSpeedTest.TestEnd().Dump()); } }