package: add tinymembench
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
30c315d642
commit
4e0676c484
@ -44,6 +44,7 @@ source "package/rt-tests/Config.in"
|
||||
source "package/strace/Config.in"
|
||||
source "package/stress/Config.in"
|
||||
source "package/sysprof/Config.in"
|
||||
source "package/tinymembench/Config.in"
|
||||
source "package/whetstone/Config.in"
|
||||
source "package/valgrind/Config.in"
|
||||
source "package/pv/Config.in"
|
||||
|
11
package/tinymembench/Config.in
Normal file
11
package/tinymembench/Config.in
Normal file
@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_TINYMEMBENCH
|
||||
bool "tinymembench"
|
||||
help
|
||||
Tinymembench is a simple memory benchmark program, which
|
||||
tries to measure the peak bandwidth of sequential memory
|
||||
accesses and the latency of random memory accesses.
|
||||
Bandwidth is measured by running different assembly code for
|
||||
the aligned memory blocks and attempting different prefetch
|
||||
strategies.
|
||||
|
||||
https://github.com/ssvb/tinymembench
|
22
package/tinymembench/tinymembench.mk
Normal file
22
package/tinymembench/tinymembench.mk
Normal file
@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# tinymembench
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TINYMEMBENCH_VERSION = v0.2
|
||||
TINYMEMBENCH_SITE = http://github.com/ssvb/tinymembench/tarball/$(TINYMEMBENCH_VERSION)
|
||||
TINYMEMBENCH_LICENSE = MIT
|
||||
TINYMEMBENCH_LICENSE_FILES = main.c
|
||||
|
||||
define TINYMEMBENCH_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define TINYMEMBENCH_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/tinymembench \
|
||||
$(TARGET_DIR)/usr/bin/tinymembench
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
Loading…
Reference in New Issue
Block a user