summaryrefslogtreecommitdiff
path: root/mbw.spec
blob: 2d1ca4ed8c6be99f3ffdbeca0aa9a297510179c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Summary: Memory bandwidth benchmark
Name: mbw
Version: 1.5
Release: 1%{?dist}
License: LGPLv2.1
Buildroot: %{_tmppath}/%{name}-buildroot
Group: System Environment/Base
Source: %{name}.tar.gz
Packager: andras.horvath@gmail.com

%description
Test memory copy bandwidth (single thread). Switch off swap or make sure array size does not exceed available free RAM.

%prep
%setup -n %{name}

%build
make

%install
mkdir -p %{buildroot}/usr/bin
mkdir -p %{buildroot}%{_mandir}/man1
install mbw %{buildroot}/usr/bin/mbw
install mbw.1 %{buildroot}%{_mandir}/man1/mbw.1

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%attr(755,-,-) /usr/bin/mbw
%doc
%attr(644,-,-) %{_mandir}/man1/mbw.1.gz

%changelog
* Tue Apr 26 2022 Andras Horvath <andras.horvath@gmail.com> 1.5-1
- New platform support (Mac)

* Fri May 04 2018 Andras Horvath <andras.horvath@gmail.com> 1.4-2
- Explicitly specify licence version

* Fri Jan 17 2014  Andras Horvath <andras.horvath@gmail.com> 1.4-1
- Fix labeling of the displayed results

* Thu Oct 03 2013 James Slocum <j.m.slocum@gmail.com> 1.3-1
- Fix MCBLOCK test: copy from the full source buffer, not just its first $blocksize.
- Fix MCBLOCK test: fixed segfault caused by for() going out of bounds

* Sun Mar 11 2012 Andras Horvath <andras.horvath@gmail.com> 1.2-1
- Fix MCBLOCK test: actually copy to the full buffer, not just its first $blocksize.

* Fri Jul 07 2006 Andras Horvath <Andras.Horvath@cern.ch> 1.1-1
- separate array initialization from work -> faster execution
- getopt() options parsing: suppress average, specific tests only, no. runs 
- added quiet mode
- added a new test: memcpy() with given block size

* Wed Apr 26 2006 Andras Horvath <Andras.Horvath@cern.ch> 1.0-1
- initial release