Difference between revisions of "Clocks and Time"

From Suhrid.net Wiki
Jump to navigationJump to search
(Created page with "= Intro = * Absolute Time - A specific time. e.g. 10AM. * Relative Time - A value expressed as relative to some other time value (usually the current value). e.g. 10000 millisec...")
 
Line 3: Line 3:
 
* Absolute Time - A specific time. e.g. 10AM.
 
* Absolute Time - A specific time. e.g. 10AM.
 
* Relative Time - A value expressed as relative to some other time value (usually the current value). e.g. 10000 milliseconds.
 
* Relative Time - A value expressed as relative to some other time value (usually the current value). e.g. 10000 milliseconds.
 +
* Standard Java only has a wall clock - calendar time. But real time systems require:
 +
** A monotonic clock.
 +
** A countdown clock.
 +
** A CPU execution time clock.
  
 
[[Category:RealtimeJava]]
 
[[Category:RealtimeJava]]

Revision as of 09:27, 11 December 2011

Intro

  • Absolute Time - A specific time. e.g. 10AM.
  • Relative Time - A value expressed as relative to some other time value (usually the current value). e.g. 10000 milliseconds.
  • Standard Java only has a wall clock - calendar time. But real time systems require:
    • A monotonic clock.
    • A countdown clock.
    • A CPU execution time clock.