psb

Profiling Synchronization Barrier

PSB CSYNC

Synchronizes the statistical profiling unit.

Details

Profiling Synchronization Barrier (PSB CSYNC) ensures that all prior profiling events are synchronized and visible to the statistical profiling unit. This instruction provides a point of synchronization for performance monitoring and trace streams. No condition flags are affected. AArch64-only; available when profiling extensions are implemented.

Pseudocode Operation

ProfileSynchronize()

Example

PSB CSYNC

Encoding

Binary Layout
11010101000000110010
0010
001
11111
 
Format System Alias
Opcode 0xD503223F
Extension Profiling

Operands

Reference (Arm A64 ISA)

Instruction Forms

Encoding Instruction ISA Bit pattern
0xD503223F PSB CSYNC A64 11010101000000110010 | 0010 | 001 | 11111

Description

Profiling Synchronization Barrier. This instruction is a barrier that ensures that all existing profiling data for the current PE has been formatted, and profiling buffer addresses have been translated such that all writes to the profiling buffer have been initiated. A following DSB instruction completes when the writes to the profiling buffer have completed. If FEAT_SPE is not implemented, this instruction executes as a NOP.

Operation

ProfilingSynchronizationBarrier();