]> git.saurik.com Git - apple/xnu.git/blame - tools/tests/perf_index/perfindex-cpu.c
xnu-2782.1.97.tar.gz
[apple/xnu.git] / tools / tests / perf_index / perfindex-cpu.c
CommitLineData
fe8ab488
A
1#include "perf_index.h"
2#include "fail.h"
3#include "md5.h"
4#include <stdint.h>
5#include <stdio.h>
6
7DECL_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}