Versions in this module Expand all Collapse all v2 v2.0.0 Apr 21, 2021 Changes in this version + type DataPullReq struct + DataTransferSize uint64 + ToReadFromPhyAddress uint64 + func (r *DataPullReq) Meta() *sim.MsgMeta + type DataPullReqBuilder struct + DataTransferSize uint64 + ToReadFromPhyAddress uint64 + func (b DataPullReqBuilder) Build() *DataPullReq + func (b DataPullReqBuilder) WithDataTransferSize(dataTransferSize uint64) DataPullReqBuilder + func (b DataPullReqBuilder) WithDst(dst sim.Port) DataPullReqBuilder + func (b DataPullReqBuilder) WithReadFromPhyAddress(toReadFromPhyAddress uint64) DataPullReqBuilder + func (b DataPullReqBuilder) WithSendTime(t sim.VTimeInSec) DataPullReqBuilder + func (b DataPullReqBuilder) WithSrc(src sim.Port) DataPullReqBuilder + type DataPullRsp struct + Data []byte + func (r *DataPullRsp) Meta() *sim.MsgMeta + type DataPullRspBuilder struct + Data []byte + func (b DataPullRspBuilder) Build() *DataPullRsp + func (b DataPullRspBuilder) WithData(Data []byte) DataPullRspBuilder + func (b DataPullRspBuilder) WithDst(dst sim.Port) DataPullRspBuilder + func (b DataPullRspBuilder) WithSendTime(t sim.VTimeInSec) DataPullRspBuilder + func (b DataPullRspBuilder) WithSrc(src sim.Port) DataPullRspBuilder + type PageMigrationController struct + DataTransferEndTime sim.VTimeInSec + DataTransferStartTime sim.VTimeInSec + MemCtrlFinder mem.LowModuleFinder + RemotePMCAddressTable mem.LowModuleFinder + TotalDataTransferTime sim.VTimeInSec + func NewPageMigrationController(name string, engine sim.Engine, memCtrlFinder mem.LowModuleFinder, ...) *PageMigrationController + func (e *PageMigrationController) SetFreq(freq sim.Freq) + func (e *PageMigrationController) Tick(now sim.VTimeInSec) bool + type PageMigrationReqToPMC struct + PMCPortOfRemoteGPU sim.Port + PageSize uint64 + ToReadFromPhysicalAddress uint64 + ToWriteToPhysicalAddress uint64 + func (r *PageMigrationReqToPMC) Meta() *sim.MsgMeta + type PageMigrationReqToPMCBuilder struct + PMCPortOfRemoteGPU sim.Port + PageSize uint64 + ToReadFromPhyAddress uint64 + ToWriteToPhyAddress uint64 + func (b PageMigrationReqToPMCBuilder) Build() *PageMigrationReqToPMC + func (b PageMigrationReqToPMCBuilder) WithDst(dst sim.Port) PageMigrationReqToPMCBuilder + func (b PageMigrationReqToPMCBuilder) WithPMCPortOfRemoteGPU(pmcPortOfRemoteGPU sim.Port) PageMigrationReqToPMCBuilder + func (b PageMigrationReqToPMCBuilder) WithPageSize(pageSize uint64) PageMigrationReqToPMCBuilder + func (b PageMigrationReqToPMCBuilder) WithReadFrom(toReadFromPhyAddress uint64) PageMigrationReqToPMCBuilder + func (b PageMigrationReqToPMCBuilder) WithSendTime(t sim.VTimeInSec) PageMigrationReqToPMCBuilder + func (b PageMigrationReqToPMCBuilder) WithSrc(src sim.Port) PageMigrationReqToPMCBuilder + func (b PageMigrationReqToPMCBuilder) WithWriteTo(toWriteToPhyAddress uint64) PageMigrationReqToPMCBuilder + type PageMigrationRspFromPMC struct + func (r *PageMigrationRspFromPMC) Meta() *sim.MsgMeta + type PageMigrationRspFromPMCBuilder struct + func (b PageMigrationRspFromPMCBuilder) Build() *PageMigrationRspFromPMC + func (b PageMigrationRspFromPMCBuilder) WithDst(dst sim.Port) PageMigrationRspFromPMCBuilder + func (b PageMigrationRspFromPMCBuilder) WithSendTime(t sim.VTimeInSec) PageMigrationRspFromPMCBuilder + func (b PageMigrationRspFromPMCBuilder) WithSrc(src sim.Port) PageMigrationRspFromPMCBuilder Other modules containing this package gitlab.com/akita/mgpusim