1 /* 2 * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _SYSTEM_SPINLOCK_CONTENTION_H 6 #define _SYSTEM_SPINLOCK_CONTENTION_H 7 8 #include <OS.h> 9 10 11 #define SPINLOCK_CONTENTION "spinlock contention" 12 #define GET_SPINLOCK_CONTENTION_INFO 0x01 13 14 15 typedef struct spinlock_contention_info { 16 uint64 thread_spinlock_counter; 17 uint64 team_spinlock_counter; 18 } spinlock_contention_info; 19 20 21 #endif /* _SYSTEM_SPINLOCK_CONTENTION_H */ 22