Make UEFI boot-platform build again
[haiku.git] / headers / private / system / spinlock_contention.h
blob0eb03dd0400db7c4ad2311d051fbfb2ea3f8ce0b
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
8 #include <OS.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 */