\section{aversive\_\-10-03-12/projects/profiling\_\-example/main.c File Reference}
\label{profiling__example_2main_8c}\index{aversive\_\-10-03-12/projects/profiling\_\-example/main.c@{aversive\_\-10-03-12/projects/profiling\_\-example/main.c}}
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$stdlib.h$>$}\par
{\tt \#include $<$string.h$>$}\par
{\tt \#include $<$aversive/wait.h$>$}\par
{\tt \#include $<$scheduler.h$>$}\par
{\tt \#include $<$timer.h$>$}\par
{\tt \#include $<$time.h$>$}\par
{\tt \#include $<$uart.h$>$}\par
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf PROFILE\_\-TIME}~10
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
void {\bf \_\-\_\-attribute\_\-\_\-} ((noinline))
\item 
void {\bf SIG\_\-OUTPUT\_\-COMPARE2} (void)
\item 
void {\bf test\_\-sched} (void $\ast$dummy)
\item 
int {\bf main} (void)
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
volatile int {\bf a} = 0
\end{CompactItemize}


\subsection{Define Documentation}
\index{profiling\_\-example/main.c@{profiling\_\-example/main.c}!PROFILE\_\-TIME@{PROFILE\_\-TIME}}
\index{PROFILE\_\-TIME@{PROFILE\_\-TIME}!profiling_example/main.c@{profiling\_\-example/main.c}}
\subsubsection[PROFILE\_\-TIME]{\setlength{\rightskip}{0pt plus 5cm}\#define PROFILE\_\-TIME~10}\label{profiling__example_2main_8c_05e7d91b1d063c166b488ae744207bfa}




Definition at line 55 of file main.c.

Referenced by \_\-\_\-attribute\_\-\_\-().

\subsection{Function Documentation}
\index{profiling\_\-example/main.c@{profiling\_\-example/main.c}!\_\-\_\-attribute\_\-\_\-@{\_\-\_\-attribute\_\-\_\-}}
\index{\_\-\_\-attribute\_\-\_\-@{\_\-\_\-attribute\_\-\_\-}!profiling_example/main.c@{profiling\_\-example/main.c}}
\subsubsection[\_\-\_\-attribute\_\-\_\-]{\setlength{\rightskip}{0pt plus 5cm}void \_\-\_\-attribute\_\-\_\- ((noinline))}\label{profiling__example_2main_8c_189705fbc4254ff3cc332e052cd13215}




Definition at line 58 of file main.c.

References PROFILE\_\-TIME.\index{profiling\_\-example/main.c@{profiling\_\-example/main.c}!main@{main}}
\index{main@{main}!profiling_example/main.c@{profiling\_\-example/main.c}}
\subsubsection[main]{\setlength{\rightskip}{0pt plus 5cm}int main (void)}\label{profiling__example_2main_8c_840291bc02cba5474a4cb46a9b9566fe}




Definition at line 167 of file main.c.

References sbi, scheduler\_\-init(), SCHEDULER\_\-UNIT, sei, test\_\-sched(), time\_\-get\_\-s(), time\_\-init(), timer\_\-init(), uart0\_\-dev\_\-recv(), uart0\_\-dev\_\-send(), and uart\_\-init().\index{profiling\_\-example/main.c@{profiling\_\-example/main.c}!SIG\_\-OUTPUT\_\-COMPARE2@{SIG\_\-OUTPUT\_\-COMPARE2}}
\index{SIG\_\-OUTPUT\_\-COMPARE2@{SIG\_\-OUTPUT\_\-COMPARE2}!profiling_example/main.c@{profiling\_\-example/main.c}}
\subsubsection[SIG\_\-OUTPUT\_\-COMPARE2]{\setlength{\rightskip}{0pt plus 5cm}void SIG\_\-OUTPUT\_\-COMPARE2 (void)}\label{profiling__example_2main_8c_ba098c88da17f873b0fea25939552da3}




Definition at line 79 of file main.c.\index{profiling\_\-example/main.c@{profiling\_\-example/main.c}!test\_\-sched@{test\_\-sched}}
\index{test\_\-sched@{test\_\-sched}!profiling_example/main.c@{profiling\_\-example/main.c}}
\subsubsection[test\_\-sched]{\setlength{\rightskip}{0pt plus 5cm}void test\_\-sched (void $\ast$ {\em dummy})}\label{profiling__example_2main_8c_d7f925be5f5f3ff5dfce70aaf44a8aec}




Definition at line 161 of file main.c.

References time\_\-wait\_\-ms().

Referenced by main().

\subsection{Variable Documentation}
\index{profiling\_\-example/main.c@{profiling\_\-example/main.c}!a@{a}}
\index{a@{a}!profiling_example/main.c@{profiling\_\-example/main.c}}
\subsubsection[a]{\setlength{\rightskip}{0pt plus 5cm}volatile int {\bf a} = 0}\label{profiling__example_2main_8c_2a4f45ca7d6bfdac7d55a210c9610667}




Definition at line 56 of file main.c.

Referenced by f16\_\-sqrt(), f32\_\-sqrt(), f64\_\-sqrt(), position\_\-manage(), rc4\_\-crypt\_\-char(), and rc4\_\-init().