Package org.rascalmpl.interpreter.utils

Examples of org.rascalmpl.interpreter.utils.Profiler


  @Override 
  public Result<IValue> eval(Statement stat) {
    __setInterrupt(false);
    try {
      if (Evaluator.doProfiling) {
        profiler = new Profiler(this);
        profiler.start();

      }
      currentAST = stat;
      try {
View Full Code Here


  }
 
  private Result<IValue> eval(Commands commands) {
    __setInterrupt(false);
    if (Evaluator.doProfiling) {
      profiler = new Profiler(this);
      profiler.start();

    }
    try {
      Result<IValue> last = ResultFactory.nothing();
View Full Code Here

  }
 
  private Result<IValue> eval(Command command) {
    __setInterrupt(false);
    if (Evaluator.doProfiling) {
      profiler = new Profiler(this);
      profiler.start();

    }
    try {
      return command.interpret(this);
View Full Code Here

    this.curStdout = null;
  }

  public Result<IValue> call(IRascalMonitor monitor, ICallableValue fun, Type[] argTypes, IValue[] argValues, Map<String, IValue> keyArgValues) {
    if (Evaluator.doProfiling && profiler == null) {
      profiler = new Profiler(this);
      profiler.start();
      try {
        return fun.call(monitor, argTypes, argValues, keyArgValues);
      } finally {
        if (profiler != null) {
View Full Code Here

TOP

Related Classes of org.rascalmpl.interpreter.utils.Profiler

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.