C# Класс ProgCom.CacheManager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CacheManager ( ) : System
getMem ( UInt16 address ) : Int32
hwConnect ( IPCHardware hw ) : void
instructionLoad ( UInt16 adress, int &accessTime ) : UInt32
isCached ( UInt16 adress ) : bool
readMem ( UInt16 adress, int &accessTime ) : Int32
writeMem ( Int32 data, UInt16 adress ) : int

Приватные методы

Метод Описание
adressRow ( int adress, UInt16 cache ) : int
getAccessTime ( UInt16 address, UInt16 cache, int loadOrder ) : int
isInCache ( UInt16 addr, UInt16 cache, int loadOrder ) : bool
loadLoc ( UInt16 addr, UInt16 cache, int loadOrder ) : void

Описание методов

CacheManager() публичный Метод

public CacheManager ( ) : System
Результат System

getMem() публичный Метод

public getMem ( UInt16 address ) : Int32
address System.UInt16
Результат System.Int32

hwConnect() публичный Метод

public hwConnect ( IPCHardware hw ) : void
hw IPCHardware
Результат void

instructionLoad() публичный Метод

public instructionLoad ( UInt16 adress, int &accessTime ) : UInt32
adress System.UInt16
accessTime int
Результат System.UInt32

isCached() публичный Метод

public isCached ( UInt16 adress ) : bool
adress System.UInt16
Результат bool

readMem() публичный Метод

public readMem ( UInt16 adress, int &accessTime ) : Int32
adress System.UInt16
accessTime int
Результат System.Int32

writeMem() публичный Метод

public writeMem ( Int32 data, UInt16 adress ) : int
data System.Int32
adress System.UInt16
Результат int