Altera Quartus II Scripting Bedienungsanleitung Seite 313

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 634
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 312
Chapter 3: Tcl Packages & Commands 3–183
misc
© July 2013 Altera Corporation Quartus II Scripting Reference Manual
stopwatch
Usage
stopwatch [-lap_time] [-number_format] [-reset] [-start]
Options
-lap_time: Option to get the lap time
-number_format: Option to show the lap time in seconds without appending the "s", i.e.
seconds, character
-reset: Option to reset the stopwatch
-start: Option to start the stopwatch
Description
Provides a stopwatch interface.
Example
# Begin the stopwatch
stopwatch -start
exec sleep 1
# Get the lap time
puts [stopwatch -lap_time]
exec sleep 1
# Get the lap time
puts [stopwatch -lap_time]
# Reset the stopwatch
stopwatch -reset
Seitenansicht 312
1 2 ... 308 309 310 311 312 313 314 315 316 317 318 ... 633 634

Kommentare zu diesen Handbüchern

Keine Kommentare