taskCERTI - Tasks: task #7929, Implement efficient Clock...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #7929: Implement efficient Clock subclasses

Submitter:  Eric NOULARD <erk>
Submitted:  Tue 08 Apr 2008 09:14:52 AM UTC
   
 
Should Start On:  Mon 07 Apr 2008 10:00:00 PM UTC Should be Finished on:  Mon 07 Apr 2008 10:00:00 PM UTC
Category:  libCERTI Priority:  5 - Normal
Status:  Ready For Test Privacy:  Public
Assigned to:  erk Percent Complete:  100%
Open/Closed:  Closed Planned Release:  CERTI 3.4.0
RTI Service Groups:  None

Wed 21 Oct 2009 10:50:21 AM UTC, comment #4: 

I think we now have a good set of Clock sub-classes.
See Patch link from Mathias.

Eric NOULARD <erk>
Group administrator
Fri 06 Mar 2009 09:57:33 AM UTC, comment #3: 

WinClock has been added.

Eric NOULARD <erk>
Group administrator
Wed 08 Oct 2008 08:20:31 AM UTC, comment #2: 

JMM will do that :=)

For the windows case may be
Multimedia timer  is a good candidate
http://msdn.microsoft.com/en-us/library/ms712704%28VS.85%29.aspx

For the TOD class
see
http://tuxmans.zici.fr/man_fr/man2/gettimeofday.2
which may be used on Windows too:
http://www.openasthra.com/c-tidbits/gettimeofday-function-for-windows/

Eric NOULARD <erk>
Group administrator
Tue 15 Jul 2008 07:16:34 AM UTC, comment #1: 

We should implement those "Clock classes" inside
libHLA (see dependency).

Eric NOULARD <erk>
Group administrator
Tue 08 Apr 2008 09:14:52 AM UTC, original submission:  


libCERTI needs an efficient mechanism usable
for timing.
The needs is for long term support for RT-capable
HLA simulation.

The need re-appear in bug:
https://savannah.nongnu.org/bugs/?22798

The idea is to have an Abstract base class
"Clock" which offer generic timing interface.
Then we implement several sub-classes
which may be used on different platforms:
TSCClock (use TSC)
PosixClock (use clock_xxx posix API)
Win32Clock (use win32 high perf multimedia API)
TODClock (use gettimeofday API)

a Clock* ClockFactory::getBestClock()
will build the best clock on the concerned platform.




Eric NOULARD <erk>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Carbon-Copy List
  • -email is unavailable- added by erk (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 12 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-11-11 erk Open/ClosedOpen Closed
        Planned ReleaseNextRelease CERTI 3.4.0
    2010-03-07 erk StatusDesign Ready For Test
    2010-02-07 erk Percent Complete50% 100%
        Planned ReleaseUnplannedRelease NextRelease
    2009-10-21 erk Assigned toNone erk
    2009-10-21 erk Dependencies- Depends on patch #6946
    2009-03-06 erk Percent Complete0% 50%
        Assigned tojmm None
    2008-10-08 erk Assigned toNone jmm
    2008-07-15 erk Dependencies- Depends on task #8386
    2008-06-23 erk Dependencies- bugs #23667 is dependent

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code