stattest.cc (8235:6381dc8bcfcc) stattest.cc (8514:57c96df312a1)
1/*
2 * Copyright (c) 2003-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;

--- 78 unchanged lines hidden (view full) ---

87 Histogram h05;
88 Histogram h06;
89 Histogram h07;
90 Histogram h08;
91 Histogram h09;
92 Histogram h10;
93 Histogram h11;
94 Histogram h12;
1/*
2 * Copyright (c) 2003-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;

--- 78 unchanged lines hidden (view full) ---

87 Histogram h05;
88 Histogram h06;
89 Histogram h07;
90 Histogram h08;
91 Histogram h09;
92 Histogram h10;
93 Histogram h11;
94 Histogram h12;
95 SparseHistogram sh1;
95
96 Formula f1;
97 Formula f2;
98 Formula f3;
99 Formula f4;
100 Formula f5;
101
102 void run();

--- 208 unchanged lines hidden (view full) ---

311 ;
312
313 h12
314 .init(10)
315 .name("Histogram12")
316 .desc("this is histogram 12")
317 ;
318
96
97 Formula f1;
98 Formula f2;
99 Formula f3;
100 Formula f4;
101 Formula f5;
102
103 void run();

--- 208 unchanged lines hidden (view full) ---

312 ;
313
314 h12
315 .init(10)
316 .name("Histogram12")
317 .desc("this is histogram 12")
318 ;
319
320 sh1
321 .init(0)
322 .name("SparseHistogram1")
323 .desc("this is sparse histogram 1")
324 ;
325
319 f1
320 .name("Formula1")
321 .desc("this is formula 1")
322 .prereq(s11)
323 ;
324
325 f2
326 .name("Formula2")

--- 291 unchanged lines hidden (view full) ---

618 h09.sample(i);
619 h10.sample(i);
620 }
621
622 for (int i = -1024; i <= 1023; i++) {
623 h11.sample(i);
624 h12.sample(i);
625 }
326 f1
327 .name("Formula1")
328 .desc("this is formula 1")
329 .prereq(s11)
330 ;
331
332 f2
333 .name("Formula2")

--- 291 unchanged lines hidden (view full) ---

625 h09.sample(i);
626 h10.sample(i);
627 }
628
629 for (int i = -1024; i <= 1023; i++) {
630 h11.sample(i);
631 h12.sample(i);
632 }
633
634 for (int i = 0; i < 1000; i++) {
635 sh1.sample(random() % 10000);
636 }
626}
637}