source:
soft/tp18/correction/main0.c
@
42
| Last change on this file since 42 was 25, checked in by , 15 years ago | |
|---|---|
| File size: 213 bytes | |
| Rev | Line | |
|---|---|---|
| [25] | 1 | #include "stdio.h" |
| 2 | ||
| 3 | /////////// | |
| 4 | int main0() | |
| 5 | { | |
| 6 | char buf; | |
| 7 | ||
| 8 | tty_printf(" TASK 0 : CYCLE COUNT \n"); | |
| 9 | ||
| 10 | while (1) { | |
| 11 | tty_getc_irq(&buf); | |
| 12 | tty_printf("\n**** cycle = %d \n", proctime()); | |
| 13 | } | |
| 14 | return 0; | |
| 15 | } // end main0 |
Note: See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/trac/giet-vm/chrome/site/your_project_logo.png)