1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 2# Copyright (c) 2009 The Hewlett-Packard Development Company 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 243 unchanged lines hidden (view full) --- 252 $c_ident(const Params *p); 253 static int getNumControllers(); 254 void init(); 255 MessageBuffer* getMandatoryQueue() const; 256 const std::string toString() const; 257 258 void print(std::ostream& out) const; 259 void wakeup(); |
260 void clearStats(); 261 void regStats(); 262 void collateStats(); 263 264 void recordCacheTrace(int cntrl, CacheRecorder* tr); 265 Sequencer* getSequencer() const; 266 267 bool functionalReadBuffers(PacketPtr&); --- 573 unchanged lines hidden (view full) --- 841} 842 843void 844$c_ident::print(ostream& out) const 845{ 846 out << "[$c_ident " << m_version << "]"; 847} 848 |
849void $c_ident::clearStats() 850{ 851 for (int state = 0; state < ${ident}_State_NUM; state++) { 852 for (int event = 0; event < ${ident}_Event_NUM; event++) { 853 m_counters[state][event] = 0; 854 } 855 } 856 --- 685 unchanged lines hidden --- |