HP EZ-KIT Bedienungsanleitung Seite 40

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 112
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 39
Example 2: Benchmarking the Relative Performance of
Memories
2-4 Getting Started with ADSP-BF548 EZ-KIT Lite
Example 2: Benchmarking the Relative
Performance of Memories
Now that you are familiar with basic VisualDSP++ operations, it is time to
analyze and tweak a program’s performance. Close the Example_1.dpj file
using the File–>Close–>Project menu selection. Open the next project
file (Example_2.dpj) located in the
<install_path>\Blackfin\Examples\ADSP-BF548 EZ-Kit Lite\Getting
Started Examples\Example_1 subdirectory of your VisualDSP++
directory.
This project builds on the program discussed in the previous exercise. The
same sequence of function calls (randomize_arrays(), bubble_sort(),
and quick_sort()) now is enclosed in a loop that repeats the sequence suf-
ficient number of times in order to profile the loop’s execution. In
addition, some code has been added to the program to obtain and print a
rough measure of the loop’s execution time in seconds, along with the
number of clock cycles the loop required.
Looking at the new version of the C source file (Sorts.c) you see there are
some additional #include directives at the top of the file. These are C dec-
larations for using printf(), for starting and reading the processor’s
real-time clock (RTC), and for reading the cycle counter. The RTC is a
straightforward device; the code in functions
start_real_time_clock()
and get_real_time_clock_in_seconds() shows how the clock’s control
registers and value are accessed from a C program by simple pointer
de-referencing.
The control registers of all Blackfin peripherals are mapped into the stan-
dard address space and can be accessed in a similar manner; although, the
set-up and control required for most of the other peripherals is more com-
plicated than that for the RTC. In Chapter 3, “Using ADSP-BF548
EZ-KIT Lite Peripherals” on page 3-1, we will see that VisualDSP++ sup-
plies libraries of service functions and device drivers to simplify and
standardize the use of many processor peripherals (including the RTC)
Seitenansicht 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 111 112

Kommentare zu diesen Handbüchern

Keine Kommentare

Whirlpool R 24 S (EU) podręczniki

Instrukcje obsługi i podręczniki użytkownika dla Lodówki Whirlpool R 24 S (EU).
Dostarczamy 1 pdf podręczników Whirlpool R 24 S (EU) do pobrania za darmo według typów dokumentów: Instrukcja Obsługi






Więcej produktów i instrukcji dla Lodówki Whirlpool

Modele Rodzaj dokumentu
UI6 F1T S Podręcznik Użytkownika   Whirlpool UI6 F1T S Setup and user guide [de] [es] [fr] [it] [kk] [nl] [pt] , 2 strony
IN TS 1611 Instrukcja Obsługi       Whirlpool IN TS 1611 Instruction for Use [sv] , 40 strony
BO 2320 Instrukcja Obsługi      Whirlpool BO 2320 Instruction for Use [en] [it] , 32 strony
MTM 1721 FF/HA Instrukcja Obsługi        Whirlpool MTM 1723 FF/HA Instruction for Use, 48 strony
SDS 1721 J/HA Instrukcja Obsługi           Whirlpool SDS 1722 J/HA Instruction for Use [de] , 64 strony
IN S 1611 Instrukcja Obsługi         Whirlpool IN S 1611 Instruction for Use [sv] , 56 strony
MINIK. MK100T PV Instrukcja Obsługi   Whirlpool MINIK. MK120T PV Instruction for Use, 14 strony
ZHS6 1Q WRD Instrukcja Obsługi     Whirlpool ZHS6 1Q WRD Instruction for Use, 32 strony
SI6 1 S Podręcznik Użytkownika   Whirlpool SI6 1 S Setup and user guide, 2 strony
ARG 457/G Instrukcja Obsługi   Whirlpool ARG 488/G Instruction for Use [de] , 28 strony
BCB 312 AI Instrukcja Obsługi        Whirlpool BCB 312 AI Instruction for Use, 52 strony
IN SZ 1612 Instrukcja Obsługi      Whirlpool IN SZ 1612 Instruction for Use [kk] , 48 strony
IN D 2412 S MC Podręcznik Użytkownika   Whirlpool IN D 2412 S MC Setup and user guide, 2 strony
WHA14BAD Instrukcja Obsługi   Whirlpool WHA21BAD Instruction for Use [en] [es] [fr] [it] [tr] , 6 strony
ZIU6 F1T W Podręcznik Użytkownika   Whirlpool ZIU6 F1T W Setup and user guide [en] , 2 strony
SD 1711 Instrukcja Obsługi      Whirlpool SD 1711 Instruction for Use, 40 strony
MBL 1911 FA Instrukcja Obsługi      Whirlpool MBL 1911 FA Instruction for Use, 36 strony
BS 3022 V Instrukcja Obsługi       Whirlpool BS 3022 V Instruction for Use, 48 strony
IN S 2332 Instrukcja Obsługi       Whirlpool IN S 2332 Instruction for Use [da] , 48 strony
IN SZ 1611 Instrukcja Obsługi      Whirlpool IN SZ 1611 Instruction for Use, 32 strony