sleep enter execs

来自「opnet无线网络编程」· 代码 · 共 8 行

TXT
8
字号
// assigns the unique state number and writes the sleep status to the sleep statistic handeler for graphing purposes

#ifndef OPD_NO_DEBUG
	if ((op_sim_time() > wsn_test_time) && (my_address == wsn_test_address || my_address == wsn_test_address_2) )
	printf("Node <%d> entering/reentering Sleep at time %e  \n", my_address, op_sim_time());
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?