Package edu.brown.cs.rampcommon

Examples of edu.brown.cs.rampcommon.CodeFragmentType


            return;

        //Determine the type of the lock based on the record type
        LockType lockType = LockType.UNKNOWN_LOCK;

        CodeFragmentType type = desc.getType();
        if ((type == CodeFragmentType.BARRIER_AWAIT)||
            (type == CodeFragmentType.BARRIER_RESET)||
            (type == CodeFragmentType.BARRIER_CREATE))
        {
            lockType = LockType.BARRIER;
View Full Code Here


            }catch(IOException e) {}
        }

        //Determine the type of the CF. It should be the type of the code fragment
        //or a computation CF, if current record is a start record
        CodeFragmentType newCFType = CodeFragmentType.UNKNOWN;
        if (desc.isStart())
        {   //This is a start of a code fragment
            //Do sanity checks
            if ((threadContext.prevDescriptor != null)&&(threadContext.prevDescriptor.isStart()))
            {   //The previous code fragment is a start code fragment, and current is also a start CF
View Full Code Here

    {
        for (Element elemCF : IvyXml.children(elemCFSET, "CF"))
        {
            //String strName = IvyXml.getAttrString(elemCF, "NAME");
            String strType = IvyXml.getAttrString(elemCF, "TYPE");
            CodeFragmentType cfType = EnumValueParser.getEnumValue(strType, CodeFragmentType.UNKNOWN);
           
            int iStartID = IvyXml.getAttrInt(elemCF, "START_ID");
            int iEndID = IvyXml.getAttrInt(elemCF, "END_ID");
           
View Full Code Here

TOP

Related Classes of edu.brown.cs.rampcommon.CodeFragmentType

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.