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

  • 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 50
51
Chapter 10: Time Construction Functions
This group of functions constructs VSE time objects.
10.1 Time()
Constructs a verification script time object.
Format : Time(nanoseconds)
Time(seconds, nanoseconds)
Return values
First function returns [0, nanoseconds], and second returns [seconds, nanoseconds].
Parameters
nanoseconds Number of nanoseconds in specified time
seconds Number of seconds in specified time
Example
Time ( 50 * 1000 ); # Create time object of 50 microseconds.
Time (3, 100); # Create time object of 3 seconds and 100 nanoseconds.
Time( 3 * MICRO_SECS ); # Create time object of 3 microseconds.
Time( 4 * MILLI_SECS ); # Create time object of 4 milliseconds.
Note: MICRO_SECS and MILLI_SECS are constants defined in VS_constants.inc.
Vue de la page 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 96 97

Commentaires sur ces manuels

Pas de commentaire