diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-26 19:01:09 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-26 19:01:09 -0700 |
commit | 1796e1798ec0664d937644308f016d65af7b216a (patch) | |
tree | e15d187f78d1e58a94b011a16c2e1d8c485dccdb /tests/skinning_test_no_simd.cpp | |
parent | edffeb890a8c972deb862c3b950ae2a5845d6c18 (diff) |
update benchmarks to have 0 be just start up
Diffstat (limited to 'tests/skinning_test_no_simd.cpp')
-rw-r--r-- | tests/skinning_test_no_simd.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/skinning_test_no_simd.cpp b/tests/skinning_test_no_simd.cpp index 34a82d6d..9c99f093 100644 --- a/tests/skinning_test_no_simd.cpp +++ b/tests/skinning_test_no_simd.cpp @@ -172,12 +172,13 @@ void calculateVerticesAndNormals_x87( int main (int argc, char*argv[]) { int N, M; - int arg = argc > 1 ? argv[1][0] - '0' : 1; + int arg = argc > 1 ? argv[1][0] - '0' : 2; switch(arg) { - case 0: N = 6600; M = 6500; break; - case 1: N = 9500; M = 10000; break; - case 2: N = 2*11000; M = 2*12000; break; - case 3: N = 3*10000; M = 3*10800; break; + case 0: return 0; break; + case 1: N = 6600; M = 6500; break; + case 2: N = 9500; M = 10000; break; + case 3: N = 2*11000; M = 2*12000; break; + case 4: N = 3*10000; M = 3*10800; break; default: printf("error: %d\\n", arg); return -1; } |