kernel_stats.hh (5568:d14250d688d2) | kernel_stats.hh (5999:3cf8e71257e0) |
---|---|
1/* 2 * Copyright (c) 2004-2005 The Regents of The University of Michigan 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; --- 48 unchanged lines hidden (view full) --- 57 protected: 58 Addr idleProcess; 59 cpu_mode themode; 60 Tick lastModeTick; 61 62 void changeMode(cpu_mode newmode, ThreadContext *tc); 63 64 private: | 1/* 2 * Copyright (c) 2004-2005 The Regents of The University of Michigan 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; --- 48 unchanged lines hidden (view full) --- 57 protected: 58 Addr idleProcess; 59 cpu_mode themode; 60 Tick lastModeTick; 61 62 void changeMode(cpu_mode newmode, ThreadContext *tc); 63 64 private: |
65 Stats::Vector<> _callpal; 66// Stats::Vector<> _faults; | 65 Stats::Vector _callpal; 66// Stats::Vector _faults; |
67 | 67 |
68 Stats::Vector<> _mode; 69 Stats::Vector<> _modeGood; | 68 Stats::Vector _mode; 69 Stats::Vector _modeGood; |
70 Stats::Formula _modeFraction; | 70 Stats::Formula _modeFraction; |
71 Stats::Vector<> _modeTicks; | 71 Stats::Vector _modeTicks; |
72 | 72 |
73 Stats::Scalar<> _swap_context; | 73 Stats::Scalar _swap_context; |
74 75 public: 76 Statistics(System *system); 77 78 void regStats(const std::string &name); 79 80 public: 81 void mode(cpu_mode newmode, ThreadContext *tc); --- 15 unchanged lines hidden --- | 74 75 public: 76 Statistics(System *system); 77 78 void regStats(const std::string &name); 79 80 public: 81 void mode(cpu_mode newmode, ThreadContext *tc); --- 15 unchanged lines hidden --- |