Benchmark
 All Classes Files Functions Variables Typedefs Macros
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 }
int i
Definition: mutsem.c:43