Exemple #1
0
 public static double ToNsec(TimeMsg time)
 {
     return(time.GetSecs() * (double)1e9 + time.GetNsecs());
 }
Exemple #2
0
 public static double ToSec(TimeMsg time)
 {
     return((double)time.GetSecs() + (double)time.GetNsecs() / 1e9);
 }