- 论坛徽章:
- 0
|
原帖由 Dalamar 于 2009-4-21 15:09 发表 ![]()
路过顺便看到,这个是系统调用
gettimeofday({1240255565, 446146}, NULL) = 0
gettimeofday({1240255565, 446205}, NULL) = 0
几千行这个说明频繁在执行time函数获取时间戳或者内部在计时
poll和select是l ...
求教您说的远程i/o操作等待
是不是指上传一类的程序呢.....
我这里有这个
select(7, [6], [6], [], {15, 0}) = 1 (out [6], left {15, 0})
poll([{fd=6, events=POLLIN}], 1, 0) = 0
select(7, [6], [6], [], {15, 0}) = 1 (out [6], left {15, 0})
poll([{fd=6, events=POLLIN}], 1, 0) = 0
select(7, [6], [6], [], {15, 0}) = 1 (out [6], left {15, 0})
poll([{fd=6, events=POLLIN}], 1, 0) = 0
select(7, [6], [6], [], {15, 0}) = 2 (in [6], out [6], left {15, 0})
poll([{fd=6, events=POLLIN, revents=POLLIN}], 1, 0) = 1
recvfrom(6, "D\220\303\34l\242TR\262\36\374g\322\260\251/\262\267!_~\203\20\301<~s\215\312\21\276B"..., 16383, 0, NULL, NULL) = 8192
lseek(7, 2494464, SEEK_SET) = 2494464
write(7, "D\220\303\34l\242TR\262\36\374g\322\260\251/\262\267!_~\203\20\301<~s\215\312\21\276B"..., 8192) = 8192
lseek(7, 2494464, SEEK_SET) = 2494464
read(7, "D\220\303\34l\242TR\262\36\374g\322\260\251/\262\267!_~\203\20\301<~s\215\312\21\276B"..., 8192) = 8192
write(8, "D\220\303\34l\242TR\262\36\374g\322\260\251/\262\267!_~\203\20\301<~s\215\312\21\276B"..., 8192) = 8192
select(7, [6], [6], [], {15, 0}) = 1 (out [6], left {15, 0})
poll([{fd=6, events=POLLIN}], 1, 0) = 0
select(7, [6], [6], [], {15, 0}) = 1 (out [6], left {15, 0})
poll([{fd=6, events=POLLIN}], 1, 0) = 0
select(7, [6], [6], [], {15, 0}) = 1 (out [6], left {15, 0})
poll([{fd=6, events=POLLIN}], 1, 0) = 0 |
|