With extended debugging, MicroBlaze provides the following performance monitoring counters to count various events and to measure latency during program execution:
C_DEBUG_EVENT_COUNTERS: Configures the event counters.
C_DEBUG_LATENCY_COUNTERS: Configures the latency counters.
C_DEBUG_COUNTER_WIDTH: Sets the counter width to 32, 48, or 64 bits.
With the default configuration, the counter width is set to 32 bits and there are five event counters and one latency counter.