Searched refs:Counter (Results 1 - 25 of 52) sorted by relevance

123

/gem5/ext/googletest/googletest/samples/
H A Dsample4.cc39 int Counter::Increment() {
44 void Counter::Print() const {
H A Dsample4.h38 class Counter { class
44 Counter() : counter_(0) {} function in class:Counter
H A Dsample4_unittest.cc36 TEST(Counter, Increment) {
37 Counter c;
/gem5/src/base/stats/
H A Dtypes.hh43 typedef double Counter; typedef in namespace:Stats
45 typedef std::vector<Counter> VCounter;
47 typedef std::map<Counter, int> MCounter;
49 typedef std::numeric_limits<Counter> CounterLimits;
H A Dinfo.hh153 virtual Counter value() const = 0;
180 Counter min;
181 Counter max;
182 Counter bucket_size;
184 Counter min_val;
185 Counter max_val;
186 Counter underflow;
187 Counter overflow;
189 Counter sum;
190 Counter square
[all...]
/gem5/src/dev/
H A Dintel_8254_timer.cc41 Counter *counter0, Counter *counter1, Counter *counter2) :
52 counter[0] = new Counter(this, name + ".counter0", 0);
53 counter[1] = new Counter(this, name + ".counter1", 1);
54 counter[2] = new Counter(this, name + ".counter2", 2);
100 Intel8254Timer::Counter::Counter(Intel8254Timer *p, function in class:Intel8254Timer::Counter
111 Intel8254Timer::Counter::latchCount()
122 Intel8254Timer::Counter
[all...]
H A Dintel_8254_timer.hh80 /** Counter element for PIT */
81 class Counter class in class:Intel8254Timer
87 /** Pointer back to Counter */
88 Counter* counter;
92 CounterEvent(Counter*);
100 friend class Counter;
151 Counter(Intel8254Timer *p, const std::string &name, unsigned int num);
201 Counter *counter[3];
216 Counter *counter0, Counter *counter
[all...]
/gem5/src/cpu/
H A Dthread_state.hh128 Counter readFuncExeInst() const { return funcExeInst; }
133 void setFuncExeInst(Counter new_val) { funcExeInst = new_val; }
144 Counter numInst;
148 Counter numOp;
157 Counter numLoad;
160 Counter startNumLoad;
205 Counter funcExeInst;
H A Dbase.hh92 Counter lastNumInst;
447 virtual Counter totalInsts() const = 0;
449 virtual Counter totalOps() const = 0;
464 void scheduleInstStop(ThreadID tid, Counter insts, const char *cause);
479 void scheduleLoadStop(ThreadID tid, Counter loads, const char *cause);
608 static Counter numSimulatedInsts()
610 Counter total = 0;
619 static Counter numSimulatedOps()
621 Counter total = 0;
H A Dprofile.hh52 Counter count;
69 std::map<Addr, Counter> pc_count;
H A Dprofile.cc127 map<Addr, Counter>::const_iterator i, end = pc_count.end();
130 Counter count = i->second;
/gem5/src/sim/
H A DSystem.py94 work_begin_ckpt_count = Param.Counter(0,
96 work_begin_exit_count = Param.Counter(0,
98 work_end_ckpt_count = Param.Counter(0,
100 work_end_exit_count = Param.Counter(0,
102 work_cpus_ckpt_count = Param.Counter(0,
/gem5/src/mem/cache/
H A Dqueue_entry.hh90 const Counter order; //!< Global order (for memory consistency mgmt)
101 Target(PacketPtr _pkt, Tick ready_time, Counter _order)
111 Counter order;
H A Dwrite_queue.hh87 PacketPtr pkt, Tick when_ready, Counter order);
H A Dmshr_queue.hh100 Tick when_ready, Counter order, bool alloc_on_fill);
H A Dwrite_queue_entry.hh84 void add(PacketPtr pkt, Tick readyTime, Counter order);
128 Tick when_ready, Counter _order);
H A Dwrite_queue.cc62 Tick when_ready, Counter order)
H A Dmshr.hh158 Target(PacketPtr _pkt, Tick _readyTime, Counter _order,
276 void add(PacketPtr pkt, Tick readyTime, Counter order,
421 Tick when_ready, Counter _order, bool alloc_on_fill);
436 void allocateTarget(PacketPtr target, Tick when, Counter order,
438 bool handleSnoop(PacketPtr target, Counter order);
H A Dwrite_queue_entry.cc63 Counter order)
92 Tick when_ready, Counter _order)
/gem5/src/cpu/testers/memtest/
H A DMemTest.py54 max_loads = Param.Counter(0, "Number of loads to execute before exiting")
64 progress_interval = Param.Counter(1000000,
/gem5/src/base/
H A Dstatistics.hh122 Counter value() const { return this->s.value(); }
498 Counter data;
509 : data(Counter())
516 void set(Counter val) { data = val; }
521 void inc(Counter val) { data += val; }
526 void dec(Counter val) { data -= val; }
531 Counter value() const { return data; }
544 void reset(Info *info) { data = Counter(); }
549 bool zero() const { return data == Counter(); }
563 Counter curren
[all...]
/gem5/src/cpu/minor/
H A Dcpu.hh142 Counter totalInsts() const override;
143 Counter totalOps() const override;
H A Dcpu.cc336 Counter
339 Counter ret = 0;
347 Counter
350 Counter ret = 0;
/gem5/src/cpu/simple/
H A Dbase.hh174 Counter totalInsts() const override;
175 Counter totalOps() const override;
/gem5/src/dev/net/
H A Dsinic.hh146 Counter rxUnique;
147 Counter txUnique;
156 Counter rxUnique;
157 Counter txUnique;

Completed in 30 milliseconds

123