Lines Matching refs:stat

103     InfoProxy(Stat &stat) : s(stat) {}
120 ScalarInfoProxy(Stat &stat) : InfoProxy<Stat, ScalarInfo>(stat) {}
135 VectorInfoProxy(Stat &stat) : InfoProxy<Stat, VectorInfo>(stat) {}
160 DistInfoProxy(Stat &stat) : InfoProxy<Stat, DistInfo>(stat) {}
167 VectorDistInfoProxy(Stat &stat) : InfoProxy<Stat, VectorDistInfo>(stat) {}
176 Vector2dInfoProxy(Stat &stat) : InfoProxy<Stat, Vector2dInfo>(stat) {}
209 * Reset the stat to the default state.
214 * @return true if this stat has a value and satisfies its
220 * Check that this stat has been set up properly and is ready for
274 * Set the name and marks this stat to print at the end of simulation.
276 * @return A reference to this stat.
292 * @return A reference to this stat.
306 * Set the description and marks this stat to print at the end of
309 * @return A reference to this stat.
319 * Set the precision and marks this stat to print at the end of simulation.
321 * @return A reference to this stat.
331 * Set the flags and marks this stat to print at the end of simulation.
333 * @return A reference to this stat.
343 * Set the prerequisite stat and marks this stat to print at the end of
345 * @param prereq The prerequisite stat.
346 * @return A reference to this stat.
372 * Set the subfield name for the given index, and marks this stat to print
376 * @return A reference to this stat.
396 * Set the subfield description for the given index and marks this stat to
400 * @return A reference to this stat.
492 * Templatized storage and interface for a simple scalar stat.
513 * The the stat to the given value.
518 * Increment the stat by the given value.
523 * Decrement the stat by the given value.
528 * Return the value of this stat as its base type.
529 * @return The value of this stat.
533 * Return the value of this stat as a result type.
534 * @return The value of this stat.
538 * Prepare stat data for dumping or serialization
542 * Reset stat value to default
553 * Templatized storage and interface to a per-tick average stat. This keeps
576 * Build and initializes this stat storage.
630 * Prepare stat data for dumping or serialization
640 * Reset stat value to default
653 * Implementation of a scalar stat. The type of stat is determined by the
664 /** The storage of this stat. */
700 * Return the current value of this stat as its base type.
716 * Increment the stat by 1. This calls the associated storage object inc
721 * Decrement the stat by 1. This calls the associated storage object dec
726 /** Increment the stat by 1. */
728 /** Decrement the stat by 1. */
740 * Increment the stat by the given value. This calls the associated
748 * Decrement the stat by the given value. This calls the associated
899 * A proxy class to access the stat at a given index in a VectorBase stat.
907 Stat &stat;
914 * Return the current value of this stat as its base type.
917 Counter value() const { return stat.data(index)->value(); }
923 Result result() const { return stat.data(index)->result(); }
931 : stat(s), index(i)
940 : stat(sp.stat), index(sp.index)
951 stat = sp.stat;
959 * Increment the stat by 1. This calls the associated storage object inc
962 void operator++() { stat.data(index)->inc(1); }
964 * Decrement the stat by 1. This calls the associated storage object dec
967 void operator--() { stat.data(index)->dec(1); }
969 /** Increment the stat by 1. */
971 /** Decrement the stat by 1. */
983 stat.data(index)->set(v);
987 * Increment the stat by the given value. This calls the associated
995 stat.data(index)->inc(v);
999 * Decrement the stat by the given value. This calls the associated
1007 stat.data(index)->dec(v);
1020 return csprintf("%s[%d]", stat.info()->name, index);
1025 * Implementation of a vector of stats. The type of stat is determined by the
1041 /** The storage of this stat. */
1087 * @return A reference to a vector of the stat values.
1149 * @return A reference to this stat.
1160 * Return a reference (ScalarProxy) to the stat at the given index.
1162 * @return A reference of the stat.
1176 Stat &stat;
1187 return stat.data(offset + index);
1194 return stat.data(offset + index);
1220 : stat(s), offset(o), len(l)
1225 : stat(sp.stat), offset(sp.offset), len(sp.len)
1232 stat = sp.stat;
1242 return ScalarProxy<Stat>(stat, offset + index);
1362 * Reset stat value to default
1385 /** The parameters for a distribution stat. */
1393 * Templatized storage and interface for a distribution stat.
1398 /** The parameters for a distribution stat. */
1518 * Reset stat value to default
1544 * Templatized storage and interface for a histogram stat.
1549 /** The parameters for a distribution stat. */
1668 * Reset stat value to default
1734 * Return the number of entries in this stat, 1
1758 * Reset stat value to default
1834 * Reset stat value to default
1845 * Implementation of a distribution stat. The type of distribution is
1857 /** The storage for this stat. */
1863 * @return The storage object for this stat.
1873 * @return A const pointer to the storage object for this stat.
1904 * Return the number of entries in this stat.
1922 * Reset stat value to default
2043 Stat &stat;
2047 typename Stat::Storage *data() { return stat.data(index); }
2048 const typename Stat::Storage *data() const { return stat.data(index); }
2052 : stat(s), index(i)
2056 : stat(sp.stat), index(sp.index)
2062 stat = sp.stat;
2523 * A stat that calculates the per tick average of a value.
2591 * A simple distribution stat.
2628 * A simple histogram stat.
2799 FormulaInfoProxy(Stat &stat) : InfoProxy<Stat, FormulaInfo>(stat) {}
2819 SparseHistInfoProxy(Stat &stat) : InfoProxy<Stat, SparseHistInfo>(stat) {}
2823 * Implementation of a sparse histogram stat. The storage class is
2835 /** The storage for this stat. */
2841 * @return The storage object for this stat.
2851 * @return A const pointer to the storage object for this stat.
2882 * Return the number of entries in this stat.
2900 * Reset stat value to default
2910 * Templatized storage and interface for a sparse histogram stat.
2915 /** The parameters for a sparse histogram stat. */
2974 * Reset stat value to default