Teledyne-lecroy SAS_SATA Protocol Suite Verification Script Engine Manual do Utilizador Página 55

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 97
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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.
Vista de página 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 96 97

Comentários a estes Manuais

Sem comentários