/** * Start a timer of the given string name for all todos and the current * thread. If no such timer exists yet, then it will be newly created. * * @param timerName * the name of the timer */ public static void startNamedTimer(String timerName) { getNamedTimer(timerName).start(); }
/** * Log the end of a particular operation the beginning of which has been * logged using logOperationStart(), using INFO priority. * * @param operationName * @param logger */ public static void logOperationFinish(String operationName, Logger logger) { logOperationFinish(operationName, logger, Level.INFO); }
/** * Reset a timer of the given string name for the current thread. If no such * timer exists yet, then it will be newly created. * * @param timerName * the name of the timer * @param todoFlags */ public static void resetNamedTimer(String timerName, int todoFlags) { getNamedTimer(timerName, todoFlags).reset(); }
/** * Log the current total memory usage using DEBUG priority. * * @param logger */ public static void logMemoryUsage(Logger logger) { logMemoryUsage(logger, LogLevel.DEBUG); }
/** * Print logging information for the timer using debug priority. * * @see org.semanticweb.elk.util.logging.ElkTimer#log(Logger,Priority) log() * @param logger */ public void log(Logger logger) { log(logger, Level.DEBUG); }
/** * Start a timer of the given string name for all todos and the current * thread. If no such timer exists yet, then it will be newly created. * * @param timerName * the name of the timer */ public static void startNamedTimer(String timerName) { getNamedTimer(timerName).start(); }
/** * Reset a timer of the given string name for the current thread. If no such * timer exists yet, then it will be newly created. * * @param timerName * the name of the timer * @param todoFlags */ public static void resetNamedTimer(String timerName, int todoFlags) { getNamedTimer(timerName, todoFlags).reset(); }
/** * Log the end of a particular operation the beginning of which has been * logged using logOperationStart(), using INFO priority. * * @param operationName * @param logger */ public static void logOperationFinish(String operationName, Logger logger) { logOperationFinish(operationName, logger, LogLevel.INFO); }
/** * Log the current total memory usage using DEBUG priority. * * @param logger */ public static void logMemoryUsage(Logger logger) { logMemoryUsage(logger, LogLevel.DEBUG); }
/** * Print logging information for the timer using debug priority. * * @see org.semanticweb.elk.util.logging.ElkTimer#log(Logger,Priority) log() * @param logger */ public void log(Logger logger) { log(logger, LogLevel.DEBUG); }
/** * Start a timer of the given string name for the current thread. If no such * timer exists yet, then it will be newly created. * * @param timerName * the name of the timer * @param todoFlags */ public static void startNamedTimer(String timerName, int todoFlags) { getNamedTimer(timerName, todoFlags).start(); }
/** * Reset a timer of the given string name for all todos and the current * thread. If no such timer exists yet, then it will be newly created. * * @param timerName * the name of the timer */ public static void resetNamedTimer(String timerName) { getNamedTimer(timerName).reset(); }
/** * Log the current total memory usage using DEBUG priority. * * @param logger */ public static void logMemoryUsage(Logger logger) { logMemoryUsage(logger, Level.DEBUG); }
/** * Print logging information for the timer using debug priority. * * @see org.semanticweb.elk.util.logging.ElkTimer#log(Logger,Priority) log() * @param logger */ public void log(Logger logger) { log(logger, LogLevel.DEBUG); }
/** * Start a timer of the given string name for the current thread. If no such * timer exists yet, then it will be newly created. * * @param timerName * the name of the timer * @param todoFlags */ public static void startNamedTimer(String timerName, int todoFlags) { getNamedTimer(timerName, todoFlags).start(); }
/** * Reset a timer of the given string name for all todos and the current * thread. If no such timer exists yet, then it will be newly created. * * @param timerName * the name of the timer */ public static void resetNamedTimer(String timerName) { getNamedTimer(timerName).reset(); }
/** * Start a timer of the given string name for the current thread. If no such * timer exists yet, then it will be newly created. * * @param timerName * the name of the timer * @param todoFlags */ public static void startNamedTimer(String timerName, int todoFlags) { getNamedTimer(timerName, todoFlags).start(); }
/** * Reset a timer of the given string name for all todos and the current * thread. If no such timer exists yet, then it will be newly created. * * @param timerName * the name of the timer */ public static void resetNamedTimer(String timerName) { getNamedTimer(timerName).reset(); }
/** * Start a timer of the given string name for all todos and the current * thread. If no such timer exists yet, then it will be newly created. * * @param timerName * the name of the timer */ public static void startNamedTimer(String timerName) { getNamedTimer(timerName).start(); }
/** * Reset a timer of the given string name for the current thread. If no such * timer exists yet, then it will be newly created. * * @param timerName * the name of the timer * @param todoFlags */ public static void resetNamedTimer(String timerName, int todoFlags) { getNamedTimer(timerName, todoFlags).reset(); }