差分

この文書の現在のバージョンと選択したバージョンの差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
software:vizexec [2011/02/12 03:23]
sunagae [構成]
software:vizexec [2014/06/06 23:03] (現在)
sunagae [Download]
ライン 16: ライン 16:
  
 ===== 構成 ===== ===== 構成 =====
 +==== ファイルの場合 ====
 <​graphviz dot right> <​graphviz dot right>
 digraph usage { digraph usage {
  node [fontsize=10 style=filled ];  node [fontsize=10 style=filled ];
  node [shape = box style=filled fillcolor="#​FFF0F0"​];​  node [shape = box style=filled fillcolor="#​FFF0F0"​];​
- cpp_prog[ label = "C++プログラム" ]; + cpp_prog[ label = "​C++ ​Programs" ]; 
- py_prog[ label = "​Pythonプログラム" ];+ py_prog[ label = "​Python ​Programs" ];
   
  node [shape = ellipse fillcolor = "#​CCCCFF"​];​  node [shape = ellipse fillcolor = "#​CCCCFF"​];​
ライン 33: ライン 34:
  vizexec[ label = "​vizexec.py (Visualizer)"​ fillcolor = "#​F0FFF0"​ ];  vizexec[ label = "​vizexec.py (Visualizer)"​ fillcolor = "#​F0FFF0"​ ];
  
- cpp_prog -> cpp_lw [ label = "マーカーを呼び出し" ]; + cpp_prog -> cpp_lw [ label = "Use marker" ]; 
- cpp_lw -> logfile [ label = "出力" ]; + cpp_lw -> logfile [ label = "Output" ]; 
- py_prog -> py_lw [ label = "マーカーを呼び出し" ]; + py_prog -> py_lw [  label = "Use marker" ]; 
- py_lw -> logfile [ label = "出力" ]; + py_lw -> logfile [ label = "Output" ]; 
- logfile -> vizexec [ label = "読み込み" ];+ logfile -> vizexec [ label = "Read" ];
 } }
 </​graphviz>​ </​graphviz>​
  
-  * こんな感じに使う 
   * LogFileのところをmkfifoとかでパイプ (FIFO) にするとリアルタイムな視覚化ができる   * LogFileのところをmkfifoとかでパイプ (FIFO) にするとリアルタイムな視覚化ができる
  
 +==== TCPで接続する場合 ====
 +<​graphviz dot right>
 +digraph usage {
 + node [fontsize=10 style=filled ];
 + node [shape = box style=filled fillcolor="#​FFF0F0"​];​
 + subgraph cluster_cpp_prog
 + {
 + label = "C++ Program (Process)"​
 + node [shape = box style=filled fillcolor="#​FFF0F0"​];​
 + cpp_thread1 [ label = "​Thread1"​ ];
 + cpp_thread2 [ label = "​Thread2"​ ];
 + cpp_thread3 [ label = "​Thread3"​ ];
 + node [shape = ellipse fillcolor = "#​CCCCFF"​];​
 + cpp_lw[ label = "​LogWriter for C++" ];
 + }
 + node [shape = box style=filled fillcolor="#​FFF0F0"​];​
 + subgraph cluster_py_prog
 + {
 + label = "​Python Program (Process)"​
 + py_thread1 [ label = "​Thread1"​ ];
 + py_thread2 [ label = "​Thread2"​ ];
 + node [shape = ellipse fillcolor = "#​CCCCFF"​];​
 + py_lw[ label = "​LogWriter for Python"​ ];
 + }
 +
 +
 + node [shape = box];
 + vizexec[ label = "​vizexec.py (Visualize Server)"​ fillcolor = "#​F0FFF0"​ ];
 +
 + node [shape = note];
 + logfile[ label = "​LogFile" ​ fillcolor = "#​FFFFFF"​];​
 +
 + cpp_thread1 -> cpp_lw [ ];
 + cpp_thread2 -> cpp_lw [ ];
 + cpp_thread3 -> cpp_lw [ label = "Use marker"​ ];
 + cpp_lw -> vizexec [ label = "​TCP/​IP"​ ];
 + py_thread1 -> py_lw [  ];
 + py_thread2 -> py_lw [ label = "Use marker or Hook" ];
 + py_lw -> vizexec [ label = "​TCP/​IP"​ ];
 + vizexec -> logfile [ label = "Write out" ];
 +}
 +</​graphviz>​
 +
 +  * vizexecをサーバーとして動かすことができる
 +  * ファイルの場合と同様にスレッドごとに出力
 +  * プロセスをまたがったやりとりも可視化可能
 +  * 必要に応じて履歴をすべてファイルに書き出すことができる
  
 ====== Download ====== ====== Download ======
-  * [[http://​www.sunaga-lab.net/​hgrepos/​vizexec/​archive/​bd4f5de27059.zip|VizEXEC 0.1]]+  * [[http://​www.sunaga-lab.com/​hgrepos/​vizexec/​archive/​b83a93532eac.zip|VizEXEC 0.2]] 
 +  * [[http://​www.sunaga-lab.com/​hgrepos/​vizexec/​archive/​bd4f5de27059.zip|VizEXEC 0.1]]
  
 ===== インストール ===== ===== インストール =====
 
software/vizexec.1297448634.txt.gz · 最終更新: 2011/02/12 03:23 by sunagae
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki