PIPS
benchmark.c
Go to the documentation of this file.
1
#include <unistd.h>
2
3
4
int
benchmark
(
int
n)
5
{
6
int
i,j;
7
for
(i=0;i<n;i++)
8
j=j*i*n/2;
9
return
j;
10
}
11
12
int
benchmark_sleep
()
13
{
14
usleep(100000);
15
}
16
17
int
main
()
18
{
19
benchmark_sleep
();
20
return
0;
21
}
benchmark_sleep
int benchmark_sleep()
Definition:
benchmark.c:12
benchmark
int benchmark(int n)
Definition:
benchmark.c:4
main
int main()
Definition:
benchmark.c:17
pips
src
Passes
pyps
drivers
sac
validation
benchmark.c
Generated on Thu Sep 26 2024 22:11:50 for PIPS by
1.9.1