Renaming *_node_tick_get to *_tick_get

We no longer support the concept of nodes.  This will impact the
following function names:
task_node_tick_get
isr_node_tick-get

Change-Id: I2591193976578689e70b9d6833d5a89a4dc0c4ce
Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
Dan Kalowsky 2015-05-04 12:04:09 -07:00 committed by Anas Nashif
commit 6b51cb461c
2 changed files with 5 additions and 5 deletions

View file

@ -90,7 +90,7 @@ static inline K_TIMER *_timer_id_to_ptr(ktimer_t timer)
extern uint32_t task_node_cycle_get_32(void); extern uint32_t task_node_cycle_get_32(void);
extern int32_t task_tick_get_32(void); extern int32_t task_tick_get_32(void);
extern int64_t task_node_tick_get(void); extern int64_t task_tick_get(void);
extern ktimer_t task_timer_alloc(void); extern ktimer_t task_timer_alloc(void);
extern void task_timer_free(ktimer_t timer); extern void task_timer_free(ktimer_t timer);
extern void task_timer_start(ktimer_t timer, extern void task_timer_start(ktimer_t timer,
@ -111,7 +111,7 @@ extern int kernel_idle(void);
#define isr_node_cycle_get_32() task_node_cycle_get_32() #define isr_node_cycle_get_32() task_node_cycle_get_32()
#define isr_tick_get_32() task_tick_get_32() #define isr_tick_get_32() task_tick_get_32()
#define isr_node_tick_get() task_node_tick_get() #define isr_tick_get() task_tick_get()
#ifdef __cplusplus #ifdef __cplusplus
} }

View file

@ -47,7 +47,7 @@
* counter register on the timer device. This counter register increments * counter register on the timer device. This counter register increments
* at a relatively high rate (e.g. 20 MHz), and thus is considered a * at a relatively high rate (e.g. 20 MHz), and thus is considered a
* "high resolution" timer. This is in contrast to nano_tick_get_32() and * "high resolution" timer. This is in contrast to nano_tick_get_32() and
* task_node_tick_get_32() which return the value of the kernel ticks variable. * task_tick_get_32() which return the value of the kernel ticks variable.
* *
* RETURNS: current high precision clock value * RETURNS: current high precision clock value
*/ */
@ -59,14 +59,14 @@ uint32_t task_node_cycle_get_32(void)
/******************************************************************************* /*******************************************************************************
* *
* task_node_tick_get - read the current system clock value * task_tick_get - read the current system clock value
* *
* This routine returns the current system clock value as measured in ticks. * This routine returns the current system clock value as measured in ticks.
* *
* RETURNS: current system clock value * RETURNS: current system clock value
*/ */
int64_t task_node_tick_get(void) int64_t task_tick_get(void)
{ {
return _LowTimeGet(); return _LowTimeGet();
} }