Add Benchmark Sequential
This commit is contained in:
parent
f23dbf8305
commit
bdf40c7b09
|
@ -39,12 +39,12 @@ typedef struct BenchmarkPair {
|
|||
} BenchmarkPair;
|
||||
|
||||
BenchmarkPair bmh_list[] = {
|
||||
{.handle = &mont64_handle, .name = "mont", .time = 0}, //
|
||||
{.handle = &crc32_handle, .name = "crc32", .time = 0}, //
|
||||
{.handle = &md5_handle, .name = "md5sum", .time = 0}, //
|
||||
{.handle = &cubic_handle, .name = "cubic", .time = 0}, //
|
||||
{.handle = &edn_handle, .name = "edn", .time = 0}, //
|
||||
{.handle = &huffbench_handle, .name = "huffbench", .time = 0}, //
|
||||
{.handle = &mont64_handle, .name = "mont", .time = 0}, //
|
||||
{.handle = &crc32_handle, .name = "crc32", .time = 0}, //
|
||||
{.handle = &md5_handle, .name = "md5sum", .time = 0}, //
|
||||
{.handle = &cubic_handle, .name = "cubic", .time = 0}, //
|
||||
{.handle = &edn_handle, .name = "edn", .time = 0}, //
|
||||
// {.handle = &huffbench_handle, .name = "huffbench", .time = 0}, //
|
||||
{.handle = &matmult_int_handle, .name = "matmult-int", .time = 0}, //
|
||||
{.handle = &libminver_handle, .name = "libminver", .time = 0}, //
|
||||
{.handle = &nobody_handle, .name = "nbody", .time = 0}, //
|
||||
|
@ -55,13 +55,13 @@ BenchmarkPair bmh_list[] = {
|
|||
{.handle = &primecount_handle, .name = "primecount", .time = 0}, //
|
||||
{.handle = &qrtest_handle, .name = "qrtest", .time = 0}, //
|
||||
{.handle = &combined_handle, .name = "combined", .time = 0}, //
|
||||
{.handle = &slre_handle, .name = "slre", .time = 0}, //
|
||||
{.handle = &libst_handle, .name = "libst", .time = 0}, //
|
||||
{.handle = &statemate_handle, .name = "statemate", .time = 0}, //
|
||||
{.handle = &tarfind_handle, .name = "tarfind", .time = 0}, //
|
||||
{.handle = &libud_handle, .name = "libud", .time = 0}, //
|
||||
{.handle = &libwikisort_handle, .name = "libwikisort", .time = 0}, //
|
||||
{.handle = NULL, .name = "", .time = 0}, //
|
||||
// {.handle = &slre_handle, .name = "slre", .time = 0}, //
|
||||
{.handle = &libst_handle, .name = "libst", .time = 0}, //
|
||||
{.handle = &statemate_handle, .name = "statemate", .time = 0}, //
|
||||
{.handle = &tarfind_handle, .name = "tarfind", .time = 0}, //
|
||||
{.handle = &libud_handle, .name = "libud", .time = 0}, //
|
||||
// {.handle = &libwikisort_handle, .name = "libwikisort", .time = 0}, //
|
||||
{.handle = NULL, .name = "", .time = 0}, //
|
||||
};
|
||||
|
||||
float benchmark_time[25];
|
||||
|
@ -144,7 +144,7 @@ void *run_benchmark_parallel(void *args) {
|
|||
printf("[BENCHMARK] Start Benchmark running parallel.\n");
|
||||
|
||||
case_attr.schedparam.sched_priority = 20;
|
||||
case_attr.stacksize = 16384;
|
||||
case_attr.stacksize = 4096;
|
||||
PrivSemaphoreCreate(&syn_sem, 0, -21);
|
||||
PrivMutexCreate(&case_mu, 0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue