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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 97
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 51
52
Chapter 11: Timer Functions
This group of functions covers VSE capability to work with timers -- internal routines that
repeatedly measure a timing intervals between different events.
Using VSE Timer Functions is a stage-by-stage process of ‘Set the Timer’, followed by
‘Get the Timer Time’ and finally ‘Kill the Timer’. All three stages are interdependent on each
other using a unique timer identifier, which can be any user-defined positive integer.
Prototypes for each of the functions, along with their corresponding usage explanations, are
provided below.
11.1 SetTimer()
Sets/starts timer for timing calculation from the event where this function was called.
Format : SendTimer( timer_id = 0)
Parameter
timer_id Unique timer identifier (user-defined positive integer)
Example
SetTimer(0); # Start timing for timer with id = 0;
SetTimer(23); # Start timing for timer with id = 23;
Remark
If this function is called a second time with the same timer id, it resets the timer and starts
timing calculations again from the point where it was called.
Vista de página 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 96 97

Comentários a estes Manuais

Sem comentários