Benchmark
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Macros
shell
Functions
shell-program.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <fcntl.h>
Functions
int
main
(int argc, char *argv[])
Function Documentation
int main
(
int
argc
,
char *
argv
[]
)
8
{
9
10
int
i
, size = atoi(argv[1]);
11
int
a=0;
12
13
14
for
(i=0; i<size; i++) {
15
a= a+1;
16
}
17
18
return
EXIT_SUCCESS;
19
}
i
int i
Definition:
mutsem.c:43
Generated on Thu May 15 2014 11:04:27 for Benchmark by
1.8.6