add benchmark to app. TODO: test benchmark.
This commit is contained in:
parent
f8dd05c006
commit
52202e2785
|
@ -41,7 +41,7 @@ BenchmarkPair bmh_list[] = {
|
|||
{.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 = &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}, //
|
||||
|
@ -57,7 +57,7 @@ BenchmarkPair bmh_list[] = {
|
|||
{.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 = &libwikisort_handle, .name = "libwikisort", .time = 0}, //
|
||||
{.handle = NULL, .name = "", .time = 0}, //
|
||||
};
|
||||
|
||||
|
|
|
@ -41,6 +41,13 @@ SECTIONS
|
|||
_shell_command_end = .;
|
||||
. = ALIGN(8);
|
||||
|
||||
/* section information for embench */
|
||||
. = ALIGN(8);
|
||||
_benchmark_start = .;
|
||||
KEEP (*(benchmark))
|
||||
_benchmark_end = .;
|
||||
. = ALIGN(8);
|
||||
|
||||
PROVIDE(__ctors_start__ = .);
|
||||
KEEP (*(SORT(.init_array.*)))
|
||||
KEEP (*(.init_array))
|
||||
|
|
Loading…
Reference in New Issue