net.sourceforge.pmd.util

Class Benchmark

public class Benchmark extends Object

Field Summary
static intTYPE_COLLECT_FILES
static intTYPE_DFA
static intTYPE_LOAD_RULES
static intTYPE_PARSER
static intTYPE_REPORTING
static intTYPE_RULE
static intTYPE_RULE_CHAIN_RULE
static intTYPE_RULE_CHAIN_VISIT
static intTYPE_SYMBOL_TABLE
static intTYPE_TOTAL_PMD
static intTYPE_TYPE_RESOLUTION
Method Summary
static voidmain(String[] args)
static voidmark(int type, long time, long count)
static voidmark(int type, String name, long time, long count)
static Stringreport()
static voidreset()

Field Detail

TYPE_COLLECT_FILES

public static final int TYPE_COLLECT_FILES

TYPE_DFA

public static final int TYPE_DFA

TYPE_LOAD_RULES

public static final int TYPE_LOAD_RULES

TYPE_PARSER

public static final int TYPE_PARSER

TYPE_REPORTING

public static final int TYPE_REPORTING

TYPE_RULE

public static final int TYPE_RULE

TYPE_RULE_CHAIN_RULE

public static final int TYPE_RULE_CHAIN_RULE

TYPE_RULE_CHAIN_VISIT

public static final int TYPE_RULE_CHAIN_VISIT

TYPE_SYMBOL_TABLE

public static final int TYPE_SYMBOL_TABLE

TYPE_TOTAL_PMD

public static final int TYPE_TOTAL_PMD

TYPE_TYPE_RESOLUTION

public static final int TYPE_TYPE_RESOLUTION

Method Detail

main

public static void main(String[] args)

mark

public static void mark(int type, long time, long count)

mark

public static void mark(int type, String name, long time, long count)

report

public static String report()

reset

public static void reset()