INET Framework for OMNeT++/OMNEST
contract/ClockTime.h File Reference

Namespaces

 inet
 Copyright (c) 2005 Jan Ringo�, www.ringos.cz.
 

Macros

#define ClockTime   SimTime
 
#define CLOCKTIME_AS_SIMTIME(x)   (x)
 
#define SIMTIME_AS_CLOCKTIME(x)   (x)
 
#define CLOCKTIME_MAX   ClockTime::getMaxTime()
 The maximum representable simulation time with the current resolution. More...
 
#define CLOCKTIME_ZERO   ClockTime::ZERO
 Constant for zero simulation time. More...
 

Typedefs

typedef ClockTime inet::clocktime_t
 

Macro Definition Documentation

◆ ClockTime

#define ClockTime   SimTime

◆ CLOCKTIME_AS_SIMTIME

#define CLOCKTIME_AS_SIMTIME (   x)    (x)

◆ CLOCKTIME_MAX

#define CLOCKTIME_MAX   ClockTime::getMaxTime()

The maximum representable simulation time with the current resolution.

◆ CLOCKTIME_ZERO

#define CLOCKTIME_ZERO   ClockTime::ZERO

Constant for zero simulation time.

Using CLOCKTIME_ZERO can be more efficient than using the 0 constant.

◆ SIMTIME_AS_CLOCKTIME

#define SIMTIME_AS_CLOCKTIME (   x)    (x)