Package org.jgroups.util
Class GenerateProfilingScript
- java.lang.Object
-
- org.jgroups.util.GenerateProfilingScript
-
public class GenerateProfilingScript extends java.lang.Object
Takes a list of methods to profile and generates the Byteman script from them. See ./conf/scripts/profiled-methods.txt as an example- Since:
- 5.2.13
- Author:
- Bela Ban
-
-
Field Summary
Fields Modifier and Type Field Description protected int
num_rules_generated
protected static java.lang.String
PREFIX
protected static java.lang.String
START_RULE
protected static java.lang.String
STOP_RULE
-
Constructor Summary
Constructors Constructor Description GenerateProfilingScript()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
generate(java.lang.String input_file, java.lang.String output_file)
protected void
generateRule(java.lang.String method, java.io.OutputStream out)
static void
main(java.lang.String[] args)
-
-
-
Field Detail
-
num_rules_generated
protected int num_rules_generated
-
PREFIX
protected static final java.lang.String PREFIX
- See Also:
- Constant Field Values
-
START_RULE
protected static final java.lang.String START_RULE
- See Also:
- Constant Field Values
-
STOP_RULE
protected static final java.lang.String STOP_RULE
- See Also:
- Constant Field Values
-
-
Method Detail
-
generate
protected void generate(java.lang.String input_file, java.lang.String output_file) throws java.io.IOException
- Throws:
java.io.IOException
-
generateRule
protected void generateRule(java.lang.String method, java.io.OutputStream out)
-
main
public static void main(java.lang.String[] args) throws java.io.IOException
- Throws:
java.io.IOException
-
-