small changes in the metrics
This commit is contained in:
@@ -235,8 +235,9 @@ def accesses_per_activate(connection):
|
||||
result = cursor.fetchone()
|
||||
return round(result[0]*1.0/number_of_activates(connection),1)
|
||||
|
||||
@metric
|
||||
def timeInPowerStates(connection):
|
||||
totalTimeAllBanks = getTraceLength(connection)*getNumberOfBanks(connection)
|
||||
totalTimeAllBanks = getTraceLength(connection)#*getNumberOfBanks(connection)
|
||||
cursor = connection.cursor()
|
||||
result = []
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ public:
|
||||
void schedule(gp* payload) override;
|
||||
std::pair<Command, tlm::tlm_generic_payload*> getNextRequest(Bank bank) override;
|
||||
void NotifyBeginRDWR();
|
||||
void NotifyBeginRD();
|
||||
|
||||
private:
|
||||
std::vector<gp*> buffer;
|
||||
|
||||
Reference in New Issue
Block a user