This package contains data types which represent aspects of time.
Constraint: .begin.time <= .end.time
A time interval represented with two absolute timestamps.
Code author: Arne Nordmann <anordman@techfak.uni-bielefeld.de>
Type : | rst.timing.Timestamp |
---|
Start of the interval.
Type : | rst.timing.Timestamp |
---|
End of the interval.
message Interval {
/**
* Start of the interval.
*/
optional Timestamp begin = 1;
/**
* End of the interval.
*/
optional Timestamp end = 2;
}
Holds a time duration in microseconds.
Code author: Arne Nordmann <anordman@techfak.uni-bielefeld.de>
Type : | UINT64 |
---|
Unit: microsecond
message Duration {
// @unit(microsecond)
required uint64 time = 1;
}
Holds a UNIX timestamp in microseconds.
Count starts at the Unix Epoch on January 1st, 1970 in UTC time.
Code author: Agnes Swadzba <aswadzba@techfak.uni-bielefeld.de>
Type : | UINT64 |
---|
Unit: microsecond
Number of microseconds since January 1st, 1970 in UTC time.
message Timestamp {
/**
* Number of microseconds since January 1st, 1970 in UTC time.
*/
// @unit(microsecond)
required uint64 time = 1;
}
Holds a frequency.
Code author: Arne Nordmann <anordman@techfak.uni-bielefeld.de>
Type : | FLOAT64 |
---|
Unit: hertz
message Frequency {
// @unit(hertz)
required double hz = 1;
}
Enter search terms or a module, class or function name.