本文整理汇总了C++中protocol_entry函数的典型用法代码示例。如果您正苦于以下问题:C++ protocol_entry函数的具体用法?C++ protocol_entry怎么用?C++ protocol_entry使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了protocol_entry函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: binary_protocol_thread_unregister
void
binary_protocol_thread_unregister (gpointer thread)
{
SGenProtocolThreadUnregister entry = { thread };
protocol_entry (SGEN_PROTOCOL_THREAD_UNREGISTER, &entry, sizeof (SGenProtocolThreadUnregister));
}
示例2: binary_protocol_thread_restart
void
binary_protocol_thread_restart (gpointer thread)
{
SGenProtocolThreadRestart entry = { thread };
protocol_entry (SGEN_PROTOCOL_THREAD_RESTART, &entry, sizeof (SGenProtocolThreadRestart));
}
示例3: binary_protocol_collection_force
void
binary_protocol_collection_force (int generation)
{
SGenProtocolCollectionForce entry = { generation };
binary_protocol_flush_buffers (FALSE);
protocol_entry (SGEN_PROTOCOL_COLLECTION_FORCE, &entry, sizeof (SGenProtocolCollectionForce));
}
示例4: binary_protocol_world_stopped
void
binary_protocol_world_stopped (long long timestamp, long long total_major_cards,
long long marked_major_cards, long long total_los_cards, long long marked_los_cards)
{
SGenProtocolWorldStopped entry = { timestamp, total_major_cards, marked_major_cards, total_los_cards, marked_los_cards };
protocol_entry (SGEN_PROTOCOL_WORLD_STOPPED, &entry, sizeof (SGenProtocolWorldStopped));
}
示例5: binary_protocol_collection_end
void
binary_protocol_collection_end (int index, int generation)
{
SGenProtocolCollection entry = { index, generation };
binary_protocol_flush_buffers (FALSE);
protocol_entry (SGEN_PROTOCOL_COLLECTION_END, &entry, sizeof (SGenProtocolCollection));
}
示例6: binary_protocol_world_restarting
void
binary_protocol_world_restarting (int generation, long long timestamp,
long long total_major_cards, long long marked_major_cards, long long total_los_cards, long long marked_los_cards)
{
SGenProtocolWorldRestarting entry = { generation, timestamp, total_major_cards, marked_major_cards, total_los_cards, marked_los_cards };
protocol_entry (SGEN_PROTOCOL_WORLD_RESTARTING, &entry, sizeof (SGenProtocolWorldRestarting));
}
示例7: binary_protocol_missing_remset
void
binary_protocol_missing_remset (gpointer obj, gpointer obj_vtable, int offset, gpointer value, gpointer value_vtable, int value_pinned)
{
SGenProtocolMissingRemset entry = { obj, obj_vtable, offset, value, value_vtable, value_pinned };
protocol_entry (SGEN_PROTOCOL_MISSING_REMSET, &entry, sizeof (SGenProtocolMissingRemset));
}
示例8: binary_protocol_ptr_update
void
binary_protocol_ptr_update (gpointer ptr, gpointer old_value, gpointer new_value, gpointer vtable, int size)
{
SGenProtocolPtrUpdate entry = { ptr, old_value, new_value, vtable, size };
protocol_entry (SGEN_PROTOCOL_PTR_UPDATE, &entry, sizeof (SGenProtocolPtrUpdate));
}
示例9: binary_protocol_global_remset
void
binary_protocol_global_remset (gpointer ptr, gpointer value, gpointer value_vtable)
{
SGenProtocolGlobalRemset entry = { ptr, value, value_vtable };
protocol_entry (SGEN_PROTOCOL_GLOBAL_REMSET, &entry, sizeof (SGenProtocolGlobalRemset));
}
示例10: binary_protocol_concurrent_update_finish
void
binary_protocol_concurrent_update_finish (void)
{
protocol_entry (SGEN_PROTOCOL_CONCURRENT_UPDATE_FINISH, NULL, 0);
}
示例11: binary_protocol_dislink_process_staged
void
binary_protocol_dislink_process_staged (gpointer link, gpointer obj, int index)
{
SGenProtocolDislinkProcessStaged entry = { link, obj, index };
protocol_entry (SGEN_PROTOCOL_DISLINK_PROCESS_STAGED, &entry, sizeof (SGenProtocolDislinkProcessStaged));
}
示例12: binary_protocol_dislink_update
void
binary_protocol_dislink_update (gpointer link, gpointer obj, int track, int staged)
{
SGenProtocolDislinkUpdate entry = { link, obj, track, staged };
protocol_entry (SGEN_PROTOCOL_DISLINK_UPDATE, &entry, sizeof (SGenProtocolDislinkUpdate));
}
示例13: binary_protocol_thread_suspend
void
binary_protocol_thread_suspend (gpointer thread, gpointer stopped_ip)
{
SGenProtocolThreadSuspend entry = { thread, stopped_ip };
protocol_entry (SGEN_PROTOCOL_THREAD_SUSPEND, &entry, sizeof (SGenProtocolThreadSuspend));
}
示例14: binary_protocol_copy
void
binary_protocol_copy (gpointer from, gpointer to, gpointer vtable, int size)
{
SGenProtocolCopy entry = { from, to, vtable, size };
protocol_entry (SGEN_PROTOCOL_COPY, &entry, sizeof (SGenProtocolCopy));
}
示例15: binary_protocol_alloc_degraded
void
binary_protocol_alloc_degraded (gpointer obj, gpointer vtable, int size)
{
SGenProtocolAlloc entry = { obj, vtable, size };
protocol_entry (SGEN_PROTOCOL_ALLOC_DEGRADED, &entry, sizeof (SGenProtocolAlloc));
}