Go to the source code of this file.
◆ _papi_getcpu
| #define _papi_getcpu |
( |
| ) |
0 |
◆ F_GETOWN_EX
◆ F_OWNER_PGRP
◆ F_OWNER_PID
◆ F_OWNER_TID
◆ F_SETOWN_EX
◆ LINUX_VERSION
| #define LINUX_VERSION |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| ( ((a&0xff)<<24) | ((b&0xff)<<16) | ((c&0xff) << 8)) |
◆ min
Value:({ \
(void) (&_min1 == &_min2); \
_min1 < _min2 ? _min1 : _min2; })
Definition at line 6 of file linux-common.h.
◆ _linux_detect_nmi_watchdog()
| int _linux_detect_nmi_watchdog |
( |
| ) |
|
Definition at line 719 of file linux-common.c.
721 int watchdog_detected=0,watchdog_value=0;
724 fff=fopen(
"/proc/sys/kernel/nmi_watchdog",
"r");
726 if (fscanf(
fff,
"%d",&watchdog_value)==1) {
727 if (watchdog_value>0) watchdog_detected=1;
732 return watchdog_detected;
◆ mygettid()
| static pid_t mygettid |
( |
void |
| ) |
|
|
inlinestatic |
Definition at line 13 of file linux-common.h.
16 return syscall( SYS_gettid );
17 #elif defined(__NR_gettid) 18 return syscall( __NR_gettid );
20 #error "cannot find gettid"