* [meta-oe] [master] [PATCH 0/3] Added cpu benchmarks
@ 2016-08-23 9:47 Mubin Sayyed
2016-08-23 9:47 ` [meta-oe] [master] [PATCH 1/3] benchmarks:Added recipe for whetstone benchmarks Mubin Sayyed
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Mubin Sayyed @ 2016-08-23 9:47 UTC (permalink / raw)
To: openembedded-core; +Cc: Mubin Sayyed
Added recipes for cpu benchmarks dhrystone,whetstone and linpack.
Mubin Sayyed (3):
benchmarks:Added recipe for whetstone benchmarks
benchmarks:Added recipe for dhrystone
benchmarks:Added recipe for linpack
.../recipes-benchmark/dhrystone/dhrystone_2.1.bb | 22 ++++++++++++++++++++++
meta-oe/recipes-benchmark/linpack/linpack_1.0.bb | 22 ++++++++++++++++++++++
.../recipes-benchmark/whetstone/whetstone_1.0.bb | 22 ++++++++++++++++++++++
3 files changed, 66 insertions(+)
create mode 100644 meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb
create mode 100644 meta-oe/recipes-benchmark/linpack/linpack_1.0.bb
create mode 100644 meta-oe/recipes-benchmark/whetstone/whetstone_1.0.bb
--
1.9.1
^ permalink raw reply [flat|nested] 7+ messages in thread* [meta-oe] [master] [PATCH 1/3] benchmarks:Added recipe for whetstone benchmarks 2016-08-23 9:47 [meta-oe] [master] [PATCH 0/3] Added cpu benchmarks Mubin Sayyed @ 2016-08-23 9:47 ` Mubin Sayyed 2016-08-24 0:54 ` Khem Raj 2016-08-23 9:47 ` [meta-oe] [master] [PATCH 2/3] benchmarks:Added recipe for dhrystone Mubin Sayyed ` (2 subsequent siblings) 3 siblings, 1 reply; 7+ messages in thread From: Mubin Sayyed @ 2016-08-23 9:47 UTC (permalink / raw) To: openembedded-core; +Cc: Mubin Sayyed This patch adds recipe for whestone benchmarks. Whestone benchmarks measures CPU's floating-point arithmetic performance Signed-off-by: Mubin Sayyed <mubinusm@xilinx.com> --- .../recipes-benchmark/whetstone/whetstone_1.0.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-oe/recipes-benchmark/whetstone/whetstone_1.0.bb diff --git a/meta-oe/recipes-benchmark/whetstone/whetstone_1.0.bb b/meta-oe/recipes-benchmark/whetstone/whetstone_1.0.bb new file mode 100644 index 0000000..e6f51cb --- /dev/null +++ b/meta-oe/recipes-benchmark/whetstone/whetstone_1.0.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "CPU benchmark to measure floating point performance" +HOMEPAGE = "https://en.wikipedia.org/wiki/Whetstone_(benchmark)" +SECTION = "benchmark/tests" + +LICENSE = "GPLv1" +LIC_FILES_CHKSUM ="file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d" + +SRC_URI = "http://www.netlib.org/benchmark/whetstone.c" +SRC_URI[md5sum] = "d8eb2cd7104bb5a12d614ac6d3f1f9fb" +SRC_URI[sha256sum] = "333e4ceca042c146f63eec605573d16ae8b07166cbc44a17bec1ea97c6f1efbf" + +S = "${WORKDIR}" + +do_compile () { + ${CC} -O3 -Ofast -o whetstone whetstone.c -lm +} + +do_install () { + install -d ${D}${bindir} + install -m 0755 whetstone ${D}${bindir} +} + -- 1.9.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [meta-oe] [master] [PATCH 1/3] benchmarks:Added recipe for whetstone benchmarks 2016-08-23 9:47 ` [meta-oe] [master] [PATCH 1/3] benchmarks:Added recipe for whetstone benchmarks Mubin Sayyed @ 2016-08-24 0:54 ` Khem Raj 0 siblings, 0 replies; 7+ messages in thread From: Khem Raj @ 2016-08-24 0:54 UTC (permalink / raw) To: Mubin Sayyed; +Cc: Mubin Sayyed, openembedded-core [-- Attachment #1: Type: text/plain, Size: 1892 bytes --] > On Aug 23, 2016, at 2:47 AM, Mubin Sayyed <mubin.usman.sayyed@xilinx.com> wrote: > > This patch adds recipe for whestone benchmarks. > Whestone benchmarks measures CPU's floating-point > arithmetic performance > > Signed-off-by: Mubin Sayyed <mubinusm@xilinx.com> > --- > .../recipes-benchmark/whetstone/whetstone_1.0.bb | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > create mode 100644 meta-oe/recipes-benchmark/whetstone/whetstone_1.0.bb > > diff --git a/meta-oe/recipes-benchmark/whetstone/whetstone_1.0.bb b/meta-oe/recipes-benchmark/whetstone/whetstone_1.0.bb > new file mode 100644 > index 0000000..e6f51cb > --- /dev/null > +++ b/meta-oe/recipes-benchmark/whetstone/whetstone_1.0.bb > @@ -0,0 +1,22 @@ > +DESCRIPTION = "CPU benchmark to measure floating point performance" > +HOMEPAGE = "https://en.wikipedia.org/wiki/Whetstone_(benchmark)" > +SECTION = "benchmark/tests" > + > +LICENSE = "GPLv1" > +LIC_FILES_CHKSUM ="file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d" > + > +SRC_URI = "http://www.netlib.org/benchmark/whetstone.c" > +SRC_URI[md5sum] = "d8eb2cd7104bb5a12d614ac6d3f1f9fb" > +SRC_URI[sha256sum] = "333e4ceca042c146f63eec605573d16ae8b07166cbc44a17bec1ea97c6f1efbf" > + > +S = "${WORKDIR}" > + > +do_compile () { > + ${CC} -O3 -Ofast -o whetstone whetstone.c -lm hardcoding, compiler options may not be the right thing just leveraging CFLAGS is right thing. Secondly, also pass LDFLAGS since compile and link are happening in same step > +} > + > +do_install () { > + install -d ${D}${bindir} > + install -m 0755 whetstone ${D}${bindir} > +} > + > -- > 1.9.1 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core [-- Attachment #2: Message signed with OpenPGP using GPGMail --] [-- Type: application/pgp-signature, Size: 211 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* [meta-oe] [master] [PATCH 2/3] benchmarks:Added recipe for dhrystone 2016-08-23 9:47 [meta-oe] [master] [PATCH 0/3] Added cpu benchmarks Mubin Sayyed 2016-08-23 9:47 ` [meta-oe] [master] [PATCH 1/3] benchmarks:Added recipe for whetstone benchmarks Mubin Sayyed @ 2016-08-23 9:47 ` Mubin Sayyed 2016-08-23 9:47 ` [meta-oe] [master] [PATCH 3/3] benchmarks:Added recipe for linpack Mubin Sayyed 2016-08-23 10:52 ` [meta-oe] [master] [PATCH 0/3] Added cpu benchmarks Jussi Kukkonen 3 siblings, 0 replies; 7+ messages in thread From: Mubin Sayyed @ 2016-08-23 9:47 UTC (permalink / raw) To: openembedded-core; +Cc: Mubin Sayyed This patch adds recipe for dhrystone benchmarks. Dhrystone benchmarks measure CPU performance. Signed-off-by: Mubin Sayyed <mubinusm@xilinx.com> --- .../recipes-benchmark/dhrystone/dhrystone_2.1.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb diff --git a/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb b/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb new file mode 100644 index 0000000..d0026d5 --- /dev/null +++ b/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "CPU Benchmark to measure integer performance" +SECTION = "benchmark/tests" +HOMEPAGE = "http://en.wikipedia.org/wiki/Dhrystone" + +LICENSE = "NCSA" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/NCSA;md5=1b5fdec70ee13ad8a91667f16c1959d7" + +SRC_URI = "http://fossies.org/linux/privat/old/dhrystone-${PV}.tar.gz" + +SRC_URI[md5sum] = "15e13d1d2329571a60c04b2f05920d24" +SRC_URI[sha256sum] = "8c8da46c34fde271b8f60a96a432164d2918706911199f43514861f07ef6b2f1" + +EXTRA_OEMAKE = "-e MAKEFLAGS='GCC=${CC}' 'PROGS=unix' 'TIME_FUNC= -DTIME' \ + 'HZ=60' 'OPTIMIZE= -O4' 'GCCOPTIM=-O'" +S = "${WORKDIR}" + +do_install () { + + install -d ${D}${bindir} + install -m 0755 gcc_dry2 ${D}${bindir} + install -m 0755 gcc_dry2reg ${D}${bindir} +} -- 1.9.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [meta-oe] [master] [PATCH 3/3] benchmarks:Added recipe for linpack 2016-08-23 9:47 [meta-oe] [master] [PATCH 0/3] Added cpu benchmarks Mubin Sayyed 2016-08-23 9:47 ` [meta-oe] [master] [PATCH 1/3] benchmarks:Added recipe for whetstone benchmarks Mubin Sayyed 2016-08-23 9:47 ` [meta-oe] [master] [PATCH 2/3] benchmarks:Added recipe for dhrystone Mubin Sayyed @ 2016-08-23 9:47 ` Mubin Sayyed 2016-08-23 10:52 ` [meta-oe] [master] [PATCH 0/3] Added cpu benchmarks Jussi Kukkonen 3 siblings, 0 replies; 7+ messages in thread From: Mubin Sayyed @ 2016-08-23 9:47 UTC (permalink / raw) To: openembedded-core; +Cc: Mubin Sayyed This patch adds recipe for linpack benchmarks. linpack benchmarks measures the CPU's floating point computing power. Signed-off-by: Mubin Sayyed <mubinusm@xilinx.com> --- meta-oe/recipes-benchmark/linpack/linpack_1.0.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-oe/recipes-benchmark/linpack/linpack_1.0.bb diff --git a/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb b/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb new file mode 100644 index 0000000..b136358 --- /dev/null +++ b/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "LINPACK Benchmarks are a measure of a system's floating point computing power" +HOMEPAGE = "https://en.wikipedia.org/wiki/LINPACK_benchmarks" +SECTION = "benchmark/tests" + +LICENSE = "BSD" +LIC_FILES_CHKSUM ="file://${COMMON_LICENSE_DIR}/BSD;md5=3775480a712fc46a69647678acb234cb" + +SRC_URI = "http://ftp4.se.freebsd.org/pub/misc/linpacknew.c" +SRC_URI[md5sum] = "11aec219fc065a4aa54b9aed3b2c6f47" +SRC_URI[sha256sum] = "e21ab7b04732189b550070f346970db9686d2f33a5d0a1a3a03c4dc50f7af14c" + +S = "${WORKDIR}" + +do_compile () { + ${CC} -O -o linpack linpacknew.c -lm +} + +do_install () { + install -d ${D}${bindir} + install -m 0755 linpack ${D}${bindir} +} + -- 1.9.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [meta-oe] [master] [PATCH 0/3] Added cpu benchmarks 2016-08-23 9:47 [meta-oe] [master] [PATCH 0/3] Added cpu benchmarks Mubin Sayyed ` (2 preceding siblings ...) 2016-08-23 9:47 ` [meta-oe] [master] [PATCH 3/3] benchmarks:Added recipe for linpack Mubin Sayyed @ 2016-08-23 10:52 ` Jussi Kukkonen 2016-08-25 9:29 ` Mubin Usman Sayyed 3 siblings, 1 reply; 7+ messages in thread From: Jussi Kukkonen @ 2016-08-23 10:52 UTC (permalink / raw) To: Mubin Sayyed Cc: Mubin Sayyed, Patches and discussions about the oe-core layer [-- Attachment #1: Type: text/plain, Size: 1171 bytes --] On 23 August 2016 at 12:47, Mubin Sayyed <mubin.usman.sayyed@xilinx.com> wrote: > Added recipes for cpu benchmarks dhrystone,whetstone and linpack. > > Mubin Sayyed (3): > benchmarks:Added recipe for whetstone benchmarks > benchmarks:Added recipe for dhrystone > benchmarks:Added recipe for linpack > > .../recipes-benchmark/dhrystone/dhrystone_2.1.bb | 22 > ++++++++++++++++++++++ > meta-oe/recipes-benchmark/linpack/linpack_1.0.bb | 22 > ++++++++++++++++++++++ > .../recipes-benchmark/whetstone/whetstone_1.0.bb | 22 > ++++++++++++++++++++++ > 3 files changed, 66 insertions(+) > create mode 100644 meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb > create mode 100644 meta-oe/recipes-benchmark/linpack/linpack_1.0.bb > create mode 100644 meta-oe/recipes-benchmark/whetstone/whetstone_1.0.bb > Hi, Please send meta-oe patches to openembedded-devel@lists.openembedded.org. Thanks, Jussi -- > 1.9.1 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core > [-- Attachment #2: Type: text/html, Size: 2698 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [meta-oe] [master] [PATCH 0/3] Added cpu benchmarks 2016-08-23 10:52 ` [meta-oe] [master] [PATCH 0/3] Added cpu benchmarks Jussi Kukkonen @ 2016-08-25 9:29 ` Mubin Usman Sayyed 0 siblings, 0 replies; 7+ messages in thread From: Mubin Usman Sayyed @ 2016-08-25 9:29 UTC (permalink / raw) To: Jussi Kukkonen Cc: Manjukumar Harthikote Matha, Patches and discussions about the oe-core layer Hi, > -----Original Message----- > From: Jussi Kukkonen [mailto:jussi.kukkonen@intel.com] > Sent: Tuesday, August 23, 2016 4:23 PM > To: Mubin Usman Sayyed <MUBINUSM@xilinx.com> > Cc: Patches and discussions about the oe-core layer <openembedded- > core@lists.openembedded.org>; Mubin Usman Sayyed > <MUBINUSM@xilinx.com> > Subject: Re: [OE-core] [meta-oe] [master] [PATCH 0/3] Added cpu > benchmarks > > On 23 August 2016 at 12:47, Mubin Sayyed > <mubin.usman.sayyed@xilinx.com > <mailto:mubin.usman.sayyed@xilinx.com> > wrote: > > > Added recipes for cpu benchmarks dhrystone,whetstone and > linpack. > > Mubin Sayyed (3): > benchmarks:Added recipe for whetstone benchmarks > benchmarks:Added recipe for dhrystone > benchmarks:Added recipe for linpack > > .../recipes-benchmark/dhrystone/dhrystone_2.1.bb > <http://dhrystone_2.1.bb> | 22 ++++++++++++++++++++++ > meta-oe/recipes-benchmark/linpack/linpack_1.0.bb > <http://linpack_1.0.bb> | 22 ++++++++++++++++++++++ > .../recipes-benchmark/whetstone/whetstone_1.0.bb > <http://whetstone_1.0.bb> | 22 ++++++++++++++++++++++ > 3 files changed, 66 insertions(+) > create mode 100644 meta-oe/recipes- > benchmark/dhrystone/dhrystone_2.1.bb <http://dhrystone_2.1.bb> > create mode 100644 meta-oe/recipes- > benchmark/linpack/linpack_1.0.bb <http://linpack_1.0.bb> > create mode 100644 meta-oe/recipes- > benchmark/whetstone/whetstone_1.0.bb <http://whetstone_1.0.bb> > > > > Hi, > > Please send meta-oe patches to openembedded- > devel@lists.openembedded.org <mailto:openembedded- > devel@lists.openembedded.org> . > > > Thanks, > Jussi > > Thanks for the info, I have sent patches to openembedded-devel@lists.openembedded.org. Thanks, Mubin > > -- > 1.9.1 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > <mailto:Openembedded-core@lists.openembedded.org> > http://lists.openembedded.org/mailman/listinfo/openembedded- > core <http://lists.openembedded.org/mailman/listinfo/openembedded- > core> > > This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-08-25 10:03 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-08-23 9:47 [meta-oe] [master] [PATCH 0/3] Added cpu benchmarks Mubin Sayyed 2016-08-23 9:47 ` [meta-oe] [master] [PATCH 1/3] benchmarks:Added recipe for whetstone benchmarks Mubin Sayyed 2016-08-24 0:54 ` Khem Raj 2016-08-23 9:47 ` [meta-oe] [master] [PATCH 2/3] benchmarks:Added recipe for dhrystone Mubin Sayyed 2016-08-23 9:47 ` [meta-oe] [master] [PATCH 3/3] benchmarks:Added recipe for linpack Mubin Sayyed 2016-08-23 10:52 ` [meta-oe] [master] [PATCH 0/3] Added cpu benchmarks Jussi Kukkonen 2016-08-25 9:29 ` Mubin Usman Sayyed
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox