Class 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  
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • num_rules_generated

        protected int num_rules_generated
    • Constructor Detail

      • GenerateProfilingScript

        public GenerateProfilingScript()
    • 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