Package org.jruby.runtime.profile

Examples of org.jruby.runtime.profile.ProfileOutput


                            if (profilingMode.equals("out")) {
                                // output file for profiling results
                                String outputFile = grabValue(getArgumentError("--profile.out requires an output file argument"));
                               
                                try {
                                    config.setProfileOutput(new ProfileOutput(new File(outputFile)));
                                } catch (FileNotFoundException e) {
                                    throw new MainExitException(1, String.format("jruby: %s", e.getMessage()));
                                }
                               
                            } else {
View Full Code Here


     * @param out
     * @see RubyInstanceConfig#getProfilingMode()
     * @deprecated use printProfileData(ProfileData) or printProfileData(ProfileData,ProfileOutput)
     */
    public void printProfileData(ProfileData profileData, PrintStream out) {
        printProfileData(profileData, new ProfileOutput(out));
    }
View Full Code Here

TOP

Related Classes of org.jruby.runtime.profile.ProfileOutput

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.