Redian新闻
>
中文的引用paper需要提供全文或英文翻译吗?
avatar
中文的引用paper需要提供全文或英文翻译吗?# Immigration - 落地生根
c*t
1
原题How can you measure the time spent in a context switch?
答案
If the total timeof execution of all the processes was T, then the context
switch time = T – (SUM for all processes (waiting time + execution time)).
怎么测出的T呢?多个processes可以同时运行啊。
avatar
S*9
2
英文引用比较弱,想用中文引用充一下数。现在准备了CNKI的引用统计webpage(in
ENGLISH).
这样那些中文引用的中文journal paper也都需要提供全文然后翻译abstract和引用部
分吗?
有30几个中文引用,全都提供工作量不小啊
avatar
S*I
3
For each processor, at any specific time, only one process (strictly
speaking, one thread) can run on it.

【在 c********t 的大作中提到】
: 原题How can you measure the time spent in a context switch?
: 答案
: If the total timeof execution of all the processes was T, then the context
: switch time = T – (SUM for all processes (waiting time + execution time)).
: 怎么测出的T呢?多个processes可以同时运行啊。

avatar
e*r
4
不用,打印知网上面,引文的list,然后每个引文对应的参考文献的list,
都翻译成英文就行。

【在 S*****9 的大作中提到】
: 英文引用比较弱,想用中文引用充一下数。现在准备了CNKI的引用统计webpage(in
: ENGLISH).
: 这样那些中文引用的中文journal paper也都需要提供全文然后翻译abstract和引用部
: 分吗?
: 有30几个中文引用,全都提供工作量不小啊

avatar
c*t
5
thread也是?

【在 S**I 的大作中提到】
: For each processor, at any specific time, only one process (strictly
: speaking, one thread) can run on it.

avatar
h*f
6
- Write 1 very simple program that has 2 threads.
- Thread A does an atomic write to a bool variable
- Thread B keeps spinning to do an atomic read on that bool variable
- Use cpuset w/cpu exclusive=1 for that process on 1 core (not 1 CPU)
The time from A writes to the time B picks up the change is approximately
the context switch time.
Of course, precisely, it is equal to context switch + 1 atomic write + 1
atomic read.
Anyone has an even accurate solution?
avatar
I*g
7
use yield
avatar
h*f
8
yea, using sched_yield() should work too if binding a process with 2 threads
to 1 single core.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。