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 bigtime_t thread_creation_spinlock; 17 } spinlock_contention_info; 18 19 20 #endif /* _SYSTEM_SPINLOCK_CONTENTION_H */ 21