RKH
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Traces of timer services

Macros for tracing the timer execution. More...

Macros

#define RKH_TR_TMR_INIT(timer_, signal_)
 Initializes the previously allocated timer structure RKH_TMR_T. More...
 
#define RKH_TR_TMR_START(timer_, actObj_, nTicks_, period_)
 Start a timer. More...
 
#define RKH_TR_TMR_STOP(timer_, nTicks_, period_)
 Stops a running timer. More...
 
#define RKH_TR_TMR_TOUT(timer_, signal_, actObj_)
 Timer expired. More...
 
#define RKH_TR_TMR_REM(timer_)
 Removes timer from the active timer list. More...
 

Detailed Description

Macros for tracing the timer execution.

Macro Definition Documentation

#define RKH_TR_TMR_INIT (   timer_,
  signal_ 
)
Value:
RKH_TRC_SYM(timer_); \
RKH_TRC_SIG(signal_); \
#define RKH_TRC_SIG(e)
Definition: rkhtrc.h:1142
#define RKH_TRC_SYM(sym)
Insert a object address as trace record argument.
Definition: rkhtrc.h:992
#define RKH_TRC_END_NOCRIT()
Definition: rkhtrc.h:665
Initializes the previously allocated timer structure RKH_TMR_T.
Definition: rkhtrc.h:3366
#define RKH_TRC_BEGIN_WOAOSIG_NOCRIT(eid_)
Definition: rkhtrc.h:657

Initializes the previously allocated timer structure RKH_TMR_T.

Description
Initialize a timer
Group
RKH_TG_TMR
EventID
RKH_TE_TMR_INIT
Parameters
[in]timer_Timer
[in]signal_Event to enqueued

Definition at line 2012 of file rkhtrc.h.

#define RKH_TR_TMR_START (   timer_,
  actObj_,
  nTicks_,
  period_ 
)
Value:
RKH_TRC_SYM(timer_); \
RKH_TRC_SYM(actObj_); \
RKH_TRC_NTICK(nTicks_); \
RKH_TRC_NTICK(period_); \
Start a timer.
Definition: rkhtrc.h:3367
#define RKH_TRC_SYM(sym)
Insert a object address as trace record argument.
Definition: rkhtrc.h:992
#define RKH_TRC_NTICK(nt)
Definition: rkhtrc.h:1026
#define RKH_TRC_END_NOCRIT()
Definition: rkhtrc.h:665
#define RKH_TRC_BEGIN_WOAOSIG_NOCRIT(eid_)
Definition: rkhtrc.h:657

Start a timer.

Description
Start a timer
Group
RKH_TG_TMR
EventID
RKH_TE_TMR_START
Parameters
[in]timer_Timer
[in]actObj_Active object target
[in]nTicks_Load in ticks
[in]period_Period in ticks

Definition at line 2031 of file rkhtrc.h.

#define RKH_TR_TMR_STOP (   timer_,
  nTicks_,
  period_ 
)
Value:
RKH_TRC_SYM(timer_); \
RKH_TRC_NTICK(nTicks_); \
RKH_TRC_NTICK(period_); \
#define RKH_TRC_SYM(sym)
Insert a object address as trace record argument.
Definition: rkhtrc.h:992
#define RKH_TRC_NTICK(nt)
Definition: rkhtrc.h:1026
#define RKH_TRC_END_NOCRIT()
Definition: rkhtrc.h:665
Stops a running timer.
Definition: rkhtrc.h:3368
#define RKH_TRC_BEGIN_WOAOSIG_NOCRIT(eid_)
Definition: rkhtrc.h:657

Stops a running timer.

Description
Stop a timer
Group
RKH_TG_TMR
EventID
RKH_TE_TMR_STOP
Parameters
[in]timer_Timer
[in]nTicks_Load in ticks
[in]period_Period in ticks

Definition at line 2051 of file rkhtrc.h.

#define RKH_TR_TMR_TOUT (   timer_,
  signal_,
  actObj_ 
)
Value:
RKH_SMA_ACCESS_CONST(actObj_, prio), \
signal_) \
RKH_TRC_SYM(timer_); \
RKH_TRC_SIG(signal_); \
RKH_TRC_SYM(actObj_); \
Timer expired.
Definition: rkhtrc.h:3369
#define RKH_TRC_SIG(e)
Definition: rkhtrc.h:1142
#define RKH_TRC_SYM(sym)
Insert a object address as trace record argument.
Definition: rkhtrc.h:992
#define RKH_TRC_END_NOCRIT()
Definition: rkhtrc.h:665
#define RKH_SMA_ACCESS_CONST(me_, member_)
Macro for accessing to members of state machine structure.
Definition: rkhitl.h:224
#define RKH_TRC_BEGIN_NOCRIT(eid_, prio_, sig_)
Definition: rkhtrc.h:618

Timer expired.

Description
Timer has expired
Group
RKH_TG_TMR
EventID
RKH_TE_TMR_TOUT
Parameters
[in]timer_Timer
[in]signal_Event to enqueued
[in]actObj_Active object target

Definition at line 2070 of file rkhtrc.h.

#define RKH_TR_TMR_REM (   timer_)
Value:
RKH_TRC_SYM(timer_); \
#define RKH_TRC_SYM(sym)
Insert a object address as trace record argument.
Definition: rkhtrc.h:992
Removes timer from the active timer list.
Definition: rkhtrc.h:3370
#define RKH_TRC_END_NOCRIT()
Definition: rkhtrc.h:665
#define RKH_TRC_BEGIN_WOAOSIG_NOCRIT(eid_)
Definition: rkhtrc.h:657

Removes timer from the active timer list.

Description
Remove timer from the active timer list
Group
RKH_TG_TMR
EventID
RKH_TE_TMR_REM
Parameters
[in]timer_Timer

Definition at line 2089 of file rkhtrc.h.