OSDN Git Service
(root)
/
trx-305dsp
/
dsp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
動作検証済み。DSPの負荷率を%で表示できるようになった。出力はsyslog()
[trx-305dsp/dsp.git]
/
trx305
/
kernel
/
config
/
blackfin
/
cpu_config.h
diff --git
a/trx305/kernel/config/blackfin/cpu_config.h
b/trx305/kernel/config/blackfin/cpu_config.h
index
26a6484
..
f25f091
100644
(file)
--- a/
trx305/kernel/config/blackfin/cpu_config.h
+++ b/
trx305/kernel/config/blackfin/cpu_config.h
@@
-111,6
+111,13
@@
#define IMASK_UNLOCK 0xffff
#ifndef _MACRO_ONLY
+
+/*
+ * カーネル内部のidle命令実行サイクル数
+ * この値にはidle命令の実行時間(cclk)が累積されていくので、適当にクリアして使うこと。
+ */
+extern unsigned int idle_cycle;
+
/*
* プロセッサの特殊命令のインライン関数定義
*/