From 253e8edf13c4d7bee6bd13f84fdfa6cf40a0c5c3 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Sun, 10 Feb 2013 21:43:10 -0600 Subject: ruby: replace Time with Cycles (final patch in the series) This patch is as of now the final patch in the series of patches that replace Time with Cycles.This patch further replaces Time with Cycles in Sequencer, Profiler, different protocols and related entities. Though Time has not been completely removed, the places where it is in use seem benign as of now. --- src/mem/protocol/RubySlicc_Types.sm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/mem/protocol/RubySlicc_Types.sm') diff --git a/src/mem/protocol/RubySlicc_Types.sm b/src/mem/protocol/RubySlicc_Types.sm index 0f6cd0b96..096215386 100644 --- a/src/mem/protocol/RubySlicc_Types.sm +++ b/src/mem/protocol/RubySlicc_Types.sm @@ -41,7 +41,7 @@ external_type(OutPort, primitive="yes"); structure(InPort, external = "yes", primitive="yes") { bool isReady(); void dequeue(); - Time dequeue_getDelayCycles(); + Cycles dequeue_getDelayCycles(); void recycle(); bool isEmpty(); } @@ -97,10 +97,14 @@ structure (NetDest, external = "yes", non_obj="yes") { structure (Sequencer, external = "yes") { void readCallback(Address, DataBlock); void readCallback(Address, GenericMachineType, DataBlock); - void readCallback(Address, GenericMachineType, DataBlock, Time, Time, Time); + void readCallback(Address, GenericMachineType, DataBlock, + Cycles, Cycles, Cycles); + void writeCallback(Address, DataBlock); void writeCallback(Address, GenericMachineType, DataBlock); - void writeCallback(Address, GenericMachineType, DataBlock, Time, Time, Time); + void writeCallback(Address, GenericMachineType, DataBlock, + Cycles, Cycles, Cycles); + void checkCoherence(Address); void profileNack(Address, int, int, uint64); void evictionCallback(Address); -- cgit v1.2.3