Modifier and Type | Method and Description |
---|---|
double |
fromOSDuration(timeDuration : double)
Convert the given duration from the operating system time scale to the time scale of this
builtin capacity.
|
double |
fromOSTime(timeValue : double)
Convert the given time from the operating system time scale to the time scale of this
builtin capacity.
|
double |
getOSTimeFactor()
Replies the scaling factor between the agent time and the operating system time.
|
double |
getTime([timeUnit : TimeUnit])
Replies the current time.
|
double |
toOSDuration(timeDuration : double)
Convert the given duration from the time scale of this builtin capacity to the operating
system time scale.
|
double |
toOSTime(timeValue : double)
Convert the given time from the time scale of this builtin capacity to the operating
system time scale.
|
@Pure
def
getTime([timeUnit : TimeUnit]) : double
Time
timeUnit
- if present, specifies the time unit of the value to reply. By default is it seconds.@Pure
def
getOSTimeFactor() : double
Time
Consider time in the agent application. It may evolves at a different rate than the operating system time. The value that is replied by this function permits to determine the proportionally between the agent application time and the operating system time. A typical equation for representing this relation is: os time = OSTimeFactor * agent time.
@Pure
def
toOSTime(timeValue : double) : double
Time
timeValue
- the value to convert.def
fromOSTime(timeValue : double) : double
Time
timeValue
- the value to convert.@Pure
def
toOSDuration(timeDuration : double) : double
Time
timeDuration
- the value to convert.def
fromOSDuration(timeDuration : double) : double
Time
timeDuration
- the value to convert.Copyright © 2021 the original authors or authors.