Commit 4e0676c4 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

package: add tinymembench

parent 30c315d6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
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 −0
Original line number Diff line number Diff line
################################################################################
#
# 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))