comparison TOOLS/fastmemcpybench.c @ 30416:b573c7c7173b

Add standard license header to C tools missing them.
author diego
date Sat, 30 Jan 2010 13:35:03 +0000
parents 1d34931ae1e6
children cef5275fc11f
comparison
equal deleted inserted replaced
30415:3f9c8b7320a2 30416:b573c7c7173b
3 * 3 *
4 * NOTE: This code can not be used on Pentium MMX / II because they contain 4 * NOTE: This code can not be used on Pentium MMX / II because they contain
5 * a bug in rdtsc. For Intel processors since P6(PII) rdpmc should be used 5 * a bug in rdtsc. For Intel processors since P6(PII) rdpmc should be used
6 * instead. For PIII it's disputable and it seems the bug was fixed but this 6 * instead. For PIII it's disputable and it seems the bug was fixed but this
7 * was not confirmed through testing. 7 * was not confirmed through testing.
8 */ 8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License along
20 * with this program; if not, write to the Free Software Foundation, Inc.,
21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 */
9 23
10 #include <stdio.h> 24 #include <stdio.h>
11 #include <stdlib.h> 25 #include <stdlib.h>
12 #include <string.h> 26 #include <string.h>
13 #include <sys/ioctl.h> 27 #include <sys/ioctl.h>