summaryrefslogtreecommitdiff
path: root/src/unittest/stattest.cc
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-03-05 19:09:53 -0800
committerNathan Binkert <nate@binkert.org>2009-03-05 19:09:53 -0800
commitcc95b5739097e31fdaa36a3ff443861969e338b1 (patch)
treeebcf51fd9ba4480bfb5a444320f8447d1f1ecd2d /src/unittest/stattest.cc
parentc7e82f965fa40b4a377a6ddedcdeb542a43ae7c5 (diff)
downloadgem5-cc95b5739097e31fdaa36a3ff443861969e338b1.tar.xz
stats: Fix all stats usages to deal with template fixes
Diffstat (limited to 'src/unittest/stattest.cc')
-rw-r--r--src/unittest/stattest.cc38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/unittest/stattest.cc b/src/unittest/stattest.cc
index 30b7f8a6c..3934786ec 100644
--- a/src/unittest/stattest.cc
+++ b/src/unittest/stattest.cc
@@ -116,22 +116,22 @@ main(int argc, char *argv[])
if (!text && (compat || descriptions))
usage();
- Scalar<> s1;
- Scalar<> s2;
- Average<> s3;
- Scalar<> s4;
- Vector<> s5;
- Distribution<> s6;
- Vector<> s7;
- AverageVector<> s8;
- StandardDeviation<> s9;
- AverageDeviation<> s10;
- Scalar<> s11;
- Distribution<> s12;
- VectorDistribution<> s13;
- VectorStandardDeviation<> s14;
- VectorAverageDeviation<> s15;
- Vector2d<> s16;
+ Scalar s1;
+ Scalar s2;
+ Average s3;
+ Scalar s4;
+ Vector s5;
+ Distribution s6;
+ Vector s7;
+ AverageVector s8;
+ StandardDeviation s9;
+ AverageDeviation s10;
+ Scalar s11;
+ Distribution s12;
+ VectorDistribution s13;
+ VectorStandardDeviation s14;
+ VectorAverageDeviation s15;
+ Vector2d s16;
Value s17;
Value s18;
@@ -141,9 +141,9 @@ main(int argc, char *argv[])
Formula f4;
Formula f5;
- cprintf("sizeof(Scalar<>) = %d\n", sizeof(Scalar<>));
- cprintf("sizeof(Vector<>) = %d\n", sizeof(Vector<>));
- cprintf("sizeof(Distribution<>) = %d\n", sizeof(Distribution<>));
+ cprintf("sizeof(Scalar) = %d\n", sizeof(Scalar));
+ cprintf("sizeof(Vector) = %d\n", sizeof(Vector));
+ cprintf("sizeof(Distribution) = %d\n", sizeof(Distribution));
s1
.name("Stat01")