public PerfTask(PerfRunData runData) {this();this.runData = runData;Config config = runData.getConfig();this.maxDepthLogStart = config.get("task.max.depth.log",0);String logStepAtt = "log.step";String taskLogStepAtt = "log.step." + name;if (config.get(taskLogStepAtt, null) != null) {logStepAtt = taskLogStepAtt;}logStep = config.get(logStepAtt, DEFAULT_LOG_STEP);if (logStep <= 0) {logStep = Integer.MAX_VALUE;}}
public PerfTask(PerfRunData runData): this(){this.runData = runData;Config config = runData.Config;this.maxDepthLogStart = config.Get("task.max.depth.log", 0);string logStepAtt = "log.step";string taskLogStepAtt = "log.step." + name;if (config.Get(taskLogStepAtt, null) != null){logStepAtt = taskLogStepAtt;}m_logStep = config.Get(logStepAtt, DEFAULT_LOG_STEP);if (m_logStep <= 0){m_logStep = int.MaxValue;}}