diff options
author | David Schleef <ds@schleef.org> | 2005-12-21 07:21:47 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2005-12-21 07:21:47 +0000 |
commit | dae402a1861dcab44f7eb1a78e038734c472b9ec (patch) | |
tree | 08fd8a0c1bea427106e9965f26a5486ac819e6e8 /examples | |
parent | 599af4cec2edfcf27dbd976c4d011f773b207691 (diff) | |
download | liboil-dae402a1861dcab44f7eb1a78e038734c472b9ec.tar.gz |
* examples/oil-test.c: Print out the correct values for
the test results.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/oil-test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/oil-test.c b/examples/oil-test.c index d5c90bd..6127fd6 100644 --- a/examples/oil-test.c +++ b/examples/oil-test.c @@ -261,7 +261,7 @@ int main (int argc, char *argv[]) dump_source(test); printf ("reference impl %s\n", impl->name); printf(" ave=%g std=%g\n", ave, std); - printf(" (this test) ave=%g std=%g\n", impl->profile_ave, impl->profile_std); + printf(" (this test) ave=%g std=%g\n", test->profile_ave, test->profile_std); dump_test(test); for (impl = klass->first_impl; impl; impl = impl->next) { @@ -270,7 +270,8 @@ int main (int argc, char *argv[]) if (oil_impl_is_runnable (impl)) { printf(" ave=%g std=%g\n", impl->profile_ave, impl->profile_std); oil_test_check_impl (test, impl); - printf(" (this test) ave=%g std=%g\n", impl->profile_ave, impl->profile_std); + printf(" (this test) ave=%g std=%g\n", test->profile_ave, test->profile_std); + printf(" abs diff=%g\n", test->sum_abs_diff); dump_test(test); } } |