2 * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef _SYSTEM_SPINLOCK_CONTENTION_H
6 #define _SYSTEM_SPINLOCK_CONTENTION_H
11 #define SPINLOCK_CONTENTION "spinlock contention"
12 #define GET_SPINLOCK_CONTENTION_INFO 0x01
15 typedef struct spinlock_contention_info
{
16 uint64 thread_spinlock_counter
;
17 uint64 team_spinlock_counter
;
18 } spinlock_contention_info
;
21 #endif /* _SYSTEM_SPINLOCK_CONTENTION_H */