본문 바로가기

분류 전체보기2768

Valgrind & KCachegrind 사용 예 Valgrind: http://valgrind.org/ Kcachegrind: http://kcachegrind.sourceforge.net/ Valgrind is a GPL'd system for debugging and profiling Linux programs. With Valgrind's tool suite you can automatically detect many memory management and threading bugs, avoiding hours of frustrating bug-hunting, making your programs more stable. You can also perform detailed profiling to help speed up your programs... 2009. 7. 4.
Valgrind 디버깅과 프로파일링 1 개요 1.1 Valgrind란?Valgrind는 Linux-x86 용 실행 파일의 디버깅과 프로파일링을 위한 오픈 소스 툴이다. Valgrind는 Memcheck이나 Addrcheck 툴을 사용하여 실행중인 프로그램에서 메모리 누출(leak)/오염(corruption)을 찾아낼 수 있다. 그 외의 Cachegrind, Helgrind 툴을 사용하여 캐쉬 프로파일링을 하거나, 멀티 쓰레드에서의 데이타 경쟁을 발견을 할 수 있다. 이 프로그램은 Julian Seward가 개발했다. 1.2 목적이 문서는 간단한 Valgrind의 사용법을 설명한다. - 현재(1 Feb 2005)는 Memcheck 툴의 사용법에 관해서만 설명한다. - 더 자세한 내용을 알고 싶다면 http://valgrind.kde.org/.. 2009. 7. 4.
DoxBar - add-in for using doxygen Introduction DoxBar is an add-in for using doxygen from within Developer Studio. The add-in has three functions: It can be used to run doxygen on the sources and header files of the current project and its dependencies. These are those sources and header files that are visible from the Workspace under the project whose name is displayed in bold. It can be used to automatically generate comments .. 2009. 7. 4.
Doxygen + Graphviz + DoxyComment 소스코드 문서화 리눅스에서 doxygen & graphviz를 연동해서 사용하는 법을 간단히 소개 DOXYGEN INSTALL 링크 : http://www.stack.nl/~dimitri/doxygen/download.html 파일 : doxygen-1.5.9.linux.bin.tar.gz 설치방법( ROOT ) tar -zxvf doxygen-1.5.9.linux.bin.tar.gz cd doxygen-1.5.9 ./configure make && make install GRAPHVIZ INSTALL 링크 : http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.6.tar.gz 파일 : graphviz-2.6.tar.gz 설치방법 ( ROOT ) tar -zxvf grap.. 2009. 7. 4.
Memcache 데몬을 사용하여 메모리에 데이터 저장(cache)하기 XCache와 XDebug, Memcache 데몬을 연구하고 있습니다. Memcache 데몬(memcached)은 고성능 분산 객체 캐시입니다. 애플리케이션과 데이터 스토어 중간에 설치되는 memcached는 RAM에 객체들을 저장합니다. 각각의 캐시 히트는 데이터베이스 서버의 라운드트립(roundtrip)을 대체하면서 애플리케이션의 속도를 높여줍니다. XCache를 사용하면 같은 PHP 코드를 페이지에 나타내기 위해 재 컴파일 해야 하는 불필요하고 값비싼 노력을 들이지 않아도 된다. XCache는 프리 오픈 소스 소프트웨어이며 설치도 오래 걸리지 않는다. XDebug는 소프트웨어 엑스레이와 비슷하다. 애플리케이션을 들여다 보고, 내부 작동을 노출하며 코드가 사이클을 어떻게 소비하는지를 가려낸다. XDe.. 2009. 7. 3.