📄 mpid_nem_debug.h
字号:
/* -*- Mode: C; c-basic-offset:4 ; -*- *//* * (C) 2006 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */#ifndef MPID_NEM_DEBUG_H#define MPID_NEM_DEBUG_H/*#define NDEBUG 1 */#include <assert.h>/*#define MY_DEBUG*/#ifdef MY_DEBUG#define printf_d printf#else#define printf_d(x...) do { } while (0)#endif/*#define YIELD_IN_SKIP*/#ifdef YIELD_IN_SKIP#define SKIP sched_yield()#warning "SKIP is sched_yield"#else /* YIELD_IN_SKIP */#define SKIP do{}while(0)/*#warning "SKIP is do ...while" */#endif /* YIELD_IN_SKIP *//* debugging message functions */struct MPID_nem_cell;void MPID_nem_dbg_dump_cell (volatile struct MPID_nem_cell *cell);#endif /* MPID_NEM_DEBUG_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -