/* * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de. * Distributed under the terms of the MIT License. */ #ifndef _SYSTEM_SPINLOCK_CONTENTION_H #define _SYSTEM_SPINLOCK_CONTENTION_H #include #define SPINLOCK_CONTENTION "spinlock contention" #define GET_SPINLOCK_CONTENTION_INFO 0x01 typedef struct spinlock_contention_info { uint64 thread_spinlock_counter; uint64 team_spinlock_counter; } spinlock_contention_info; #endif /* _SYSTEM_SPINLOCK_CONTENTION_H */