Core_Skipto_Progress Core_Time_Transition
API Reference Manual  /  12 Haps  / 

Core_Sync_Instruction

Description
Triggered when an synchronizing instruction is executed. The type parameter describe what kind of instruction is executing. Its encoding is specific to each architecture.

For SH, this hap is triggered when a synco instruction is executed. The type contains 0.

For SPARC-V9, this hap is triggered when a membar or stbar instruction is executed. For membar, the type contains the 7-bit field cmask|mmask specified in the instruction. For stbar, the type is 8 (equivalent to membar #StoreStore).

For x86, this hap is triggered when a fence instruction is executed. The type is set from the list provided by the x86_sync_instruction_type_t enum.

Callback Type
void (*)(lang_void *callback_data, 
         conf_object_t *trigger_obj, int64 type);

Index
type

Core_Skipto_Progress Core_Time_Transition