forked from Imagelibrary/rtems
24 lines
499 B
C
24 lines
499 B
C
/*
|
|
* Copyright (c) 2014 embedded brains GmbH. All rights reserved.
|
|
*
|
|
* embedded brains GmbH
|
|
* Dornierstr. 4
|
|
* 82178 Puchheim
|
|
* Germany
|
|
* <rtems@embedded-brains.de>
|
|
*
|
|
* The license and distribution terms for this file may be
|
|
* found in the file LICENSE in this distribution or at
|
|
* http://www.rtems.org/license/LICENSE.
|
|
*/
|
|
|
|
#include <rtems/score/cpu.h>
|
|
|
|
CPU_Counter_ticks _CPU_Counter_difference(
|
|
CPU_Counter_ticks second,
|
|
CPU_Counter_ticks first
|
|
)
|
|
{
|
|
return second - first;
|
|
}
|