]> git.saurik.com Git - apple/xnu.git/blame - tools/tests/perf_index/perfindex-cpu.c
xnu-7195.101.1.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 {
0a7de745
A
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;
fe8ab488 14}