Esempio n. 1
0
        public void RegisterAccelerationMethod(string symbolName, AccelerationMethod method)
        {
            try
            {
                var symbol = GetSymbol(symbolName);

                if (symbol == null)
                {
                    return;
                }

                RegisterAccelerationFunction(symbol.Address, method);
            }
            catch (SimCPUException e)
            {
                return;
            }
        }
Esempio n. 2
0
        public void RegisterAccelerationMethod(string symbolName, AccelerationMethod method)
        {
            try
            {
                var symbol = GetSymbol(symbolName);

                if (symbol == null)
                    return;

                RegisterAccelerationFunction(symbol.Address, method);
            }
            catch (SimCPUException e)
            {
                return;
            }
        }
Esempio n. 3
0
 public void RegisterAccelerationFunction(ulong address, AccelerationMethod method)
 {
     AcceleratorAddresses.Add(address);
     AccelerationMethods.Add(address, method);
 }
Esempio n. 4
0
 public void RegisterAccelerationFunction(ulong address, AccelerationMethod method)
 {
     AcceleratorAddresses.Add(address);
     AccelerationMethods.Add(address, method);
 }