]> git.saurik.com Git - apple/xnu.git/blob - tools/tests/perf_index/perfindex-cpu.c
xnu-4903.241.1.tar.gz
[apple/xnu.git] / tools / tests / perf_index / perfindex-cpu.c
1 #include "perf_index.h"
2 #include "fail.h"
3 #include "md5.h"
4 #include <stdint.h>
5 #include <stdio.h>
6
7 DECL_TEST {
8 long long i;
9 uint32_t digest[4];
10 for(i=0; i<length; i++) {
11 md5_hash((uint8_t *)&i, sizeof(i), digest);
12 }
13 return PERFINDEX_SUCCESS;
14 }