[RTEMS Project] #2740: Suboptimal type for Timestamp_Control

RTEMS trac trac at rtems.org
Wed Jun 15 08:53:55 UTC 2016


#2740: Suboptimal type for Timestamp_Control
-----------------------------+------------------
 Reporter:  sebastian.huber  |      Owner:
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  4.12
Component:  cpukit           |    Version:  4.12
 Severity:  normal           |   Keywords:
-----------------------------+------------------
 Currently we have

 {{{
 typedef struct bintime Timestamp_Control;
 }}}

 this type offers more precision than needed.  Maybe use sbintime_t (also
 known as int64_t) instead to simplify computations.

--
Ticket URL: <http://devel.rtems.org/ticket/2740>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list