magicat
2014年7月17日 星期四
How to find script's directory
import
os
print
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
reference:
http://stackoverflow.com/questions/4934806/python-how-to-find-scripts-directory
2014年7月15日 星期二
strip in C programming
strtok(Name, "\n");
references:
http://stackoverflow.com/questions/2693776/removing-trailing-newline-character-from-fgets-input
2014年5月5日 星期一
HPL 相關
How to calculate peak theoretical performance of a CPU-based HPC system
FLOPS per cycle for sandy-bridge and haswell SSE2/AVX/AVX2
System Performance and Ranking Estimation
http://hpl-calculator.sourceforge.net/HPL-HowTo.pdf
2014年3月26日 星期三
Linux TOP 指令說明
Linux TOP 指令說明
VIRT 程序使用的虛擬記憶體總量,單位 kb。VIRT=SWAP+RES
RES
程序使用的、未交換出的實體記憶體大小,單位 kb。RES=CODE+DATA
SHR
共享記憶體大小,單位 kb
reference
http://blog.ycnets.com/2013/09/01/linux-commandtop/
2014年1月17日 星期五
GnuPlot references
地圖/統計圖/3d 函數圖/實驗報告圖 -- Gnuplot 純畫圖 (作者: 洪朝貴老師)
http://user.frdm.info/ckhung/b/ma/gnuplot.php
Gnuplot 入門教學
http://randle.wordpress.com/2007/06/12/gnuplot-induction/
較新的文章
較舊的文章
首頁
訂閱:
文章 (Atom)