| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/ |
| D | SimpleCacheTests.cs | 25 var result = cache.Get(obj1, Generator1); in ShouldNotMissCache() 26 var beforeMisses = cache.CacheMisses; in ShouldNotMissCache() 27 var beforeHits = cache.CacheHits; in ShouldNotMissCache() 28 var resultAfter = cache.Get(obj1, Generator1); in ShouldNotMissCache() 29 var afterMisses = cache.CacheMisses; in ShouldNotMissCache() 30 var afterHits = cache.CacheHits; in ShouldNotMissCache() 39 var result = cache.Get(obj1, obj2, Generator3); in ShouldNotMissCacheWithTwoParameters() 40 var beforeMisses = cache.CacheMisses; in ShouldNotMissCacheWithTwoParameters() 41 var beforeHits = cache.CacheHits; in ShouldNotMissCacheWithTwoParameters() 42 var resultAfter = cache.Get(obj1, obj2, Generator3); in ShouldNotMissCacheWithTwoParameters() [all …]
|
| D | TypeExtensionsCacheTests.cs | 23 var cache = cacheField.GetValue(null); in Init() 24 Cache = (SimpleCache)cache; in Init()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Utilities/ |
| D | TypeExtensions.cs | 29 return cache.Get(info, InnerIsCallable); in IsCallable() 34 return cache.Get(info, InnerIsCallableIndexer); in IsCallableIndexer() 39 return cache.Get(info, InnerIsCallable); in IsCallable() 44 return cache.Get(info, InnerIsCallable); in IsCallable() 49 return cache.Get(info, InnerIsExtensionCallable); in IsExtensionCallable() 54 return cache.Get(info, InnerIsStatic); in IsStatic() 59 return cache.Get(info, flags, InnerIsCurrentlyGettable); in IsCurrentlyGettable() 64 return cache.Get(info, flags, InnerIsCurrentlySettable); in IsCurrentlySettable() 69 return cache.Get(info, InnerIsExtension); in IsExtension() 74 return cache.Get(info, InnerIsBaseCallable); in IsBaseCallable() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/DMA/ |
| D | Dma2DColorMode.cs | 43 cache = new Dictionary<Dma2DColorMode, PixelFormat>(); in Dma2DColorModeExtensions() 52 cache[mode] = format; in Dma2DColorModeExtensions() 59 if(!cache.TryGetValue(mode, out result)) in ToPixelFormat() 67 private static Dictionary<Dma2DColorMode, PixelFormat> cache; field in Antmicro.Renode.Peripherals.DMA.Dma2DColorModeExtensions
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/I2C/ |
| D | I2CPeripheralBase.cs | 25 cache = new SimpleCache(); in I2CPeripheralBase() 48 …this.NoisyLog("Reading register {0} (0x{1:X}) from device: 0x{2:X}", cache.Get(address, x => Enum.… in Read() 104 …this.Log(LogLevel.Noisy, "Setting register address to {0} (0x{1:X})", cache.Get(address, x => Enum… in WriteByte() 111 …Log(LogLevel.Noisy, "Writing value 0x{0:X} to register {1} (0x{2:X})", b, cache.Get(address, x => … in WriteByte() 126 private readonly SimpleCache cache; field in Antmicro.Renode.Peripherals.I2C.I2CPeripheralBase
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/ExecutionTracer/ |
| D | TraceBinaryWriter.cs | 30 cache = new LRUCache<uint, byte[]>(CacheSize); in TraceBinaryWriter() 146 if(!cache.TryGetValue(key, out opcode)) in TryReadAndDecodeInstruction() 154 cache.Add(key, opcode); in TryReadAndDecodeInstruction() 161 cache.Add(key, opcode); in TryReadAndDecodeInstruction() 177 private readonly LRUCache<uint, byte[]> cache; field in Antmicro.Renode.Peripherals.CPU.TraceBinaryWriter
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/opcodes/ |
| D | opcodes-zicbo | 1 # Zicbom: cache-block management instructions 6 # Zicboz: cache-block zero instruction
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/Disassembler/ |
| D | LLVMDisassembler.cs | 29 cache = new Dictionary<string, IDisassembler>(); in LLVMDisassembler() 77 if(!cache.ContainsKey(key)) in GetDisassembler() 89 cache.Add(key, disas); in GetDisassembler() 92 return cache[key]; in GetDisassembler() 95 private readonly Dictionary<string, IDisassembler> cache; field in Antmicro.Renode.Peripherals.CPU.Disassembler.LLVMDisassembler
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Packets/ |
| D | Packet.cs | 24 lock(cache) in CalculateOffset() 26 return cache.Get(Tuple.Create(typeof(T), fieldName), _ => in CalculateOffset() 426 lock(cache) in CalculateLength() 428 return cache.Get(t, _ => in CalculateLength() 451 lock(cache) in GetFieldsAndProperties() 453 return cache.Get(t, _ => in GetFieldsAndProperties() 466 private static readonly SimpleCache cache = new SimpleCache(); field in Antmicro.Renode.Utilities.Packets.Packet
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/ |
| D | SmartParser.cs | 97 cache, in TryParse() 168 cache = new Dictionary<Type, Delegate>(); in SmartParser() 191 private readonly Dictionary<Type, Delegate> cache; field in Antmicro.Renode.Utilities.SmartParser
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/ |
| D | MonitorCommands.cs | 773 var methods = cache.Get(device, GetAvailableMethods); in GetMonitorInfo() 779 var properties = cache.Get(device, GetAvailableProperties); in GetMonitorInfo() 785 var indexers = cache.Get(device, GetAvailableIndexers); in GetMonitorInfo() 791 var fields = cache.Get(device, GetAvailableFields); in GetMonitorInfo() 797 var extensions = cache.Get(device, GetAvailableExtensions); in GetMonitorInfo() 1219 var fields = cache.Get(type, GetAvailableFields); in FindFieldOrProperty() 1220 var properties = cache.Get(type, GetAvailableProperties); in FindFieldOrProperty() 1250 var methods = cache.Get(type, GetAvailableMethods); in ExecuteDeviceAction() 1251 var fields = cache.Get(type, GetAvailableFields); in ExecuteDeviceAction() 1252 var properties = cache.Get(type, GetAvailableProperties); in ExecuteDeviceAction() [all …]
|
| D | Monitor.cs | 582 cache.ClearCache(); in TryCompilePlugin()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Bus/ |
| D | SystemBus.cs | 2179 var cache = key == null ? globalCache : cpuInStateCache[key]; in TryGetValue() 2180 if(cache.TryGetValue(initiatorState.Value, out var cachedValue)) in TryGetValue() 2187 cache[initiatorState.Value] = cachedValue = defaultFactory(); in TryGetValue()
|