COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
testprofiler.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
Include dependency graph for testprofiler.c:

Functions

void test ()
 
int main ()
 

Function Documentation

void test ( )
34  {
35  int i=0;
36  printf("HAAAAAA!\n");
37  for (i=0; i<1e4; i++) {
38  printf("I love number: %d\n",i);
39  }
40 }
int i
Definition: rw_test.cpp:37
int main ( )
43 {
44  int i=0;
45 
46  printf("This c program will exit in 10 seconds.\n");
47 
48  //delay(1000);
49  usleep(1000000);
50  test();
51 
52  for (i=0; i<1e6; i++) {
53  printf("I love number: %d\n",i);
54  }
55 
56  return 0;
57 }
int i
Definition: rw_test.cpp:37
void test()
Definition: testprofiler.c:34