/[svn]/linuxsampler/trunk/src/scriptvm/tree.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/scriptvm/tree.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3208 by schoenebeck, Thu May 25 11:39:03 2017 UTC revision 3221 by schoenebeck, Fri May 26 18:30:42 2017 UTC
# Line 680  public: Line 680  public:
680      ArrayList<StackFrame> stack;      ArrayList<StackFrame> stack;
681      int stackFrame;      int stackFrame;
682      int suspendMicroseconds;      int suspendMicroseconds;
683        size_t instructionsCount;
684    
685      ExecContext() :      ExecContext() :
686          status(VM_EXEC_NOT_RUNNING), stackFrame(-1), suspendMicroseconds(0) {}          status(VM_EXEC_NOT_RUNNING), stackFrame(-1), suspendMicroseconds(0),
687            instructionsCount(0) {}
688    
689      virtual ~ExecContext() {}      virtual ~ExecContext() {}
690    
# Line 715  public: Line 717  public:
717          if (polyphonicIntMemory.empty()) return;          if (polyphonicIntMemory.empty()) return;
718          memset(&polyphonicIntMemory[0], 0, polyphonicIntMemory.size() * sizeof(int));          memset(&polyphonicIntMemory[0], 0, polyphonicIntMemory.size() * sizeof(int));
719      }      }
720    
721        size_t instructionsPerformed() const OVERRIDE {
722            return instructionsCount;
723        }
724  };  };
725    
726  } // namespace LinuxSampler  } // namespace LinuxSampler

Legend:
Removed from v.3208  
changed lines
  Added in v.3221

  ViewVC Help
Powered by ViewVC