Teledyne-lecroy SAS_SATA Protocol Suite Verification Script Engine Manuel d'utilisateur Page 55

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 97
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 54
55
12.3 MulTimeByInt()
Multiplies VSE time object by integer value.
Format : MulTimeByInt (time, mult)
Return values
Returns VSE time object representing the time interval equal to the product of time * mult.
Parameters
time VSE time object
mult multiplier, integer value
Example
t = Time(2, 200); # 2 seconds 200 nanoseconds
t1 = MulTimeByInt ( t, 2 ) # Returns t * 2 = 4 sec 400 ns.
12.4 DivTimeByInt()
Divides VSE time object by integer value.
Format : DivTimeByInt (time, div)
Return values
Returns VSE time object representing the time interval equal to the quotient of time / div.
Parameters
time VSE time object
div divisor, integer value
Example
t = Time(2, 200); # 2 seconds 200 nanoseconds
t1 = DivTimeByInt ( t, 2 ) # Returns t / 2 = 1 sec 100 ns.
Vue de la page 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 96 97

Commentaires sur ces manuels

Pas de commentaire