📄 costants.h
字号:
/* ------ constants used in the simulator ------ */#ifndef COSTANTSZ_H#define COSTANTSZ_H#define MOVE 2#define DATA 3/* ------ message priorities ------ */#define P_MOVE 4#define P_DATA 3/* ------ time costants ------ *//*should include queueing delays, interrupt processing times and transfer times*/#define NODE_TRAVERSAL_TIME 30e-03/* ------ other costants ------ */#define BROADCAST -1//#define DEBUG a#ifdef DEBUG #define d(x) ev<<((parentModule()->id()-2)/5)<<","<<name()<<":"<<x<<"\n"#endif#ifndef DEBUG #define d(x) /* x .*/#endif#define dd(x) ev<<((parentModule()->id()-2)/5)<<","<<name()<<":"<<x<<"\n"#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -