How to watch NASA's first Boeing Starliner crewed flight launch today (scrubbed)
1.8インチ SSD パラレルATA(IDE) ZIFコネクタ の製品メモ
2009年11月、パシフィコ横浜で開催された組込み機器関連の展示会「Embedded Technology 2009」では、「はちゅねミク」とNECエレクトロニクスのプログラマブルLSI「XBridge」(クロスブリッジ)およびパートナー企業によるコラボレーションが大きな話題となりました。 Embedded Technology 2009: 出展レポート ご好評につき、はちゅねがNECエレクトロニクスのHPに再登場!今回は、な、なんと、はちゅねが案内役の「よくわかるXBirdge」のWEBセミナーを開催します!では、さっそくスタート! いかがでしたか? 画像やパケットなど大量のストリーム・データ処理を手軽に速くすることができる、ハードウエアなのにC言語から直接設計できるプログラマブルLSI「XBridge」(クロスブリッジ)。 さらに詳しい技術情報は製品情報のページでご紹介していますの
機械設計の基礎知識から、3D CADによるモデリングやCAE解析、3Dプリンタ活用といった実践スキルまでをカバーする、メカ設計技術者のスキル向上を支援する情報フォーラム
Section: Linux Programmer's Manual (2) Updated: 2008-07-09 Index JM Home Page roff page 名前 sched_setaffinity, sched_getaffinity, CPU_CLR, CPU_ISSET, CPU_SET, CPU_ZERO - プロセスの CPU affinity マスクを設定・取得する 書式 #define _GNU_SOURCE #include <sched.h> int sched_setaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask); int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask); void CPU_CLR(int c
pthread_...inity_np(3) Library Functions Manual pthread_...inity_np(3) NAME toppthread_setaffinity_np, pthread_getaffinity_np - set/get CPU affinity of a thread LIBRARY topPOSIX threads library (libpthread, -lpthread) SYNOPSIS top#define _GNU_SOURCE /* See feature_test_macros(7) */ #include <pthread.h> int pthread_setaffinity_np(pthread_t thread, size_t cpusetsize, const cp
前回のエントリではimagecfgというユーティティを使用してプロセスアフィニティを設定したが、この方法ではバイナリのイメージヘッダを直接書き換えてしまうため変更は恒久的なものになってしまう。 動的に変更することはできないのだろうかと調べるとWin32にはプロセスアフィニティマスクを取得、設定するAPIが用意されており、例えば.NET C#等からなら簡単に操作することができることが判った。 使うAPIは以下の二つ。 [DllImport("kernel32.dll", SetLastError = true)] static extern bool GetProcessAffinityMask(IntPtr hProcess, out UIntPtr lpProcessAffinityMask, out UIntPtr lpSystemAffinityMask); [DllImport("
Linux 2.6 には sched_setaffinity(2) というシステムコールがあり、これを利用して任意のスレッドを(マルチCPU環境下で)特定の CPU で実行させることができます。http://www-06.ibm.com/jp/developerworks/linux/051028/j_l-affinity.shtml によるとリアルタイムプロセスでマネージャとなるスレッドをこのシステムコールで特定の CPU に固定する...といった応用が考えられるそうです。 へえ、と思ったのでちょっと遊んでみました。LD_PRELOAD を使って任意のプログラムを任意の CPU に固定して動かしてみます。GCC の __attribute__)((constructor))( で sched_setaffinitiy(2) を呼びます。(参考: http://0xcc.net/blog/
The best Android tablets range from basic couch companions to feature-packed behemoths that could sit next to some of the most powerful laptops on the market. The key to finding a dream device comes down to finding the tablet that works best for you and your needs. For most folks, the best tablet on the market might just be the new Galaxy Tab S9 from Samsung, but the entire S9 lineup is a triumph,
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く