Altera Embedded Peripherals IP Instrukcja Użytkownika Strona 307

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 336
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 306
Returns:
Description: Macro PERF_RESET() stops and disables all counters, resetting them to 0.
PERF_START_MEASURING()
Prototype: PERF_START_MEASURING(p)
Thread-safe: Yes.
Available
from ISR:
Yes.
Include: <altera_avalon_performance_counter.h>
Parameters: p—performance counter core base address.
Returns:
Description: Macro PERF_START_MEASURING() starts the global counter, enabling the
performance counter core. The behavior of individual section counters is
controlled by PERF_BEGIN() and PERF_END(). PERF_START_MEASURING()
defines the start of a global event, and increments the global event counter. This
macro is a single write to the performance counter core.
PERF_STOP_MEASURING()
Prototype:
PERF_STOP_MEASURING(p)
Thread-safe: Yes.
Available
from ISR:
Yes.
Include: <altera_avalon_performance_counter.h>
Parameters: p—performance counter core base address.
Returns:
Description: Macro PERF_STOP_MEASURING() stops the global counter, disabling the perform‐
ance counter core. This macro is a single write to the performance counter core.
PERF_BEGIN()
Prototype:
PERF_BEGIN(p,n)
Thread-safe: Yes.
Available
from ISR:
Yes.
Include: <altera_avalon_performance_counter.h>
UG-01085
2014.24.07
PERF_START_MEASURING()
31-7
Performance Counter Core
Altera Corporation
Send Feedback
Przeglądanie stron 306
1 2 ... 302 303 304 305 306 307 308 309 310 311 312 ... 335 336

Komentarze do niniejszej Instrukcji

Brak uwag