-p는 prof용

-pggprof용


$ man gcc

       -p  Generate extra code to write profile information suitable for the analysis program prof.  You must

           use this option when compiling the source files you want data about, and you must also use it when

           linking.


       -pg Generate extra code to write profile information suitable for the analysis program gprof.  You

           must use this option when compiling the source files you want data about, and you must also use it

           when linking.



Unlike prof, gprof is capable of limited call graph collecting and printing.

[링크 : https://en.wikipedia.org/wiki/Gprof]


gprof was invented specifically because prof only gives you "self time"

[링크 : http://stackoverflow.com/questions/17612370/whats-the-difference-between-prof-and-gprof]


위키 내용은 prof가 나은거 같지만..

prof는 self time만 잴수 있다는 단점? 머.. 일장일단 정도일려나?


---


$ prof

The program 'prof' is currently not installed. You can install it by typing:

sudo apt-get install profphd


$ man prof
 prof - secondary structure and solvent accessibility predictor

얘는 다른앤가?


'프로그램 사용 > gcov, gprof' 카테고리의 다른 글

gcov와 gcovr  (0) 2023.07.20
gcovr - gocv 를 html로  (0) 2023.07.10
gprof gui  (0) 2023.07.10
gprof flat view 이해하기  (0) 2010.01.24
gcov, gprof  (0) 2010.01.23
Posted by 구차니











Posted by 구차니
프로그램 사용/xrdp2016. 2. 24. 17:30

음.. 시도 해봐야 하나?


직접 빌드해서 올리는걸 봐서는.. 웬지 우분투 15.10에 있는 xrdp는

pulseaudio가 미진할때라 제외되지 않았을까 싶은데



[링크 : https://241931348f64b1d1.wordpress.com/.../how-to-compile-xrdpx11rdp-on-ubuntu/]


일주일 전 글이 검색되었는데 흐음...

막 개발중인건가? 해당 내용은?

[링크 : https://github.com/neutrinolabs/xrdp/issues/321]



동적 링크된 녀석중에 libpulse가 없는 걸 봐서는...

$ sudo find / -iname "libpulse*"

/usr/lib/libpulsecore-6.0.so

/usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0

/usr/lib/x86_64-linux-gnu/libpulse-simple.so.0

/usr/lib/x86_64-linux-gnu/libpulse-simple.so.0.1.0

/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so

/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-6.0.so

/usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0.0.5

/usr/lib/x86_64-linux-gnu/libpulse.so.0

/usr/lib/x86_64-linux-gnu/libpulse.so.0.18.0


/usr/sbin$ ldd xrdp

        linux-vdso.so.1 =>  (0x00007ffea089b000)

        libcommon.so.0 => /usr/lib/xrdp/libcommon.so.0 (0x00007f182f55a000)

        libxrdp.so.0 => /usr/lib/xrdp/libxrdp.so.0 (0x00007f182f343000)

        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f182ef5f000)

        libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f182eb1d000)

        libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f182e8b4000)

        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f182e695000)

        /lib64/ld-linux-x86-64.so.2 (0x00005631793e4000)

        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f182e491000)


/usr/sbin$ ldd xrdp-sesman

        linux-vdso.so.1 =>  (0x00007ffc3e926000)

        libcommon.so.0 => /usr/lib/xrdp/libcommon.so.0 (0x00007f143c16b000)

        libscp.so.0 => /usr/lib/xrdp/libscp.so.0 (0x00007f143bf60000)

        libpam.so.0 => /lib/x86_64-linux-gnu/libpam.so.0 (0x00007f143bd36000)

        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f143bb18000)

        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f143b74e000)

        libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f143b30b000)

        libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f143b0a2000)

        libaudit.so.1 => /lib/x86_64-linux-gnu/libaudit.so.1 (0x00007f143ae7d000)

        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f143ac78000)

        /lib64/ld-linux-x86-64.so.2 (0x0000560a20b43000)



'프로그램 사용 > xrdp' 카테고리의 다른 글

xrdp의 장점 (vino/vnc 대비)  (0) 2016.02.23
xrdp.ini  (0) 2016.02.16
xrdp 구조?  (0) 2016.02.16
xrdp 3389 / lxde  (0) 2016.02.15
xrdp.. 사용가능한 세션 종류  (0) 2016.02.14
Posted by 구차니
Microsoft/Visual Studio2016. 2. 24. 14:32

엥? #warning이 없어?



전처리기는 다음 지시문을 인식합니다.

[링크 : https://msdn.microsoft.com/ko-kr/library/3sxhs2ty.aspx]

    [링크 : https://msdn.microsoft.com/ko-kr/library/d9x1s805.aspx]


#pragma message( messagestring )

    [링크 : https://msdn.microsoft.com/ko-kr/library/x7dkzch2.aspx]



코드 이동성은 포기하고 MSVC와 GCC용 따로 짜야 할지도 -_-?!?


#pragma message ( "your warning text here" )

[링크 : http://stackoverflow.com/questions/171435/portability-of-warning-preprocessor-directive]

Posted by 구차니
프로그램 사용/xrdp2016. 2. 23. 15:18
빠르다

- xrdp에 vino를 붙이면 vnc로 로컬에서 하는 수준?


견고하다(?)
- 딱히 vnc 처럼 깨지는건 못 본 듯


ctrl-c,v가 된다

- vnc는 되다 안되다.. xming 쓰면 절대 안됨


물론 업로드 속도가 된다는 가정하겠지만

xrdp 설정해두고 보니 만세! 임


vino를 통해서 xrdp를 쓰면 로컬에서 하는거니까

chrome 등에서도 openGL 가속받을 수 있고 여러모로 유리함



---

음.. mplayer나 gstramer를 통해서 오디오는 전송이 안되네.. 설정이 누락된게 있나...

아니면.. session으로 한게 아니라 그런가? vino 니까?


lxde 세션이던 gnome vino던 둘다 안되네...

xrdp를 위해 pulseaudio로 뻘짓을 해야하는 건가?

'프로그램 사용 > xrdp' 카테고리의 다른 글

xrdp with pulseaudio  (0) 2016.02.24
xrdp.ini  (0) 2016.02.16
xrdp 구조?  (0) 2016.02.16
xrdp 3389 / lxde  (0) 2016.02.15
xrdp.. 사용가능한 세션 종류  (0) 2016.02.14
Posted by 구차니
하드웨어/Storage2016. 2. 22. 09:53

요즘 업데이트가 뜸하다고 해야하나..

그나저나.. 저번이 3인데 왜 이번이 5지?


Version: 5.2-5644 Update 5

(2016/02/19)

Fixed Issues

  1. Updated Firewall filter policy to fix a security vulnerability caused by stack-based buffer overflow (CVE-2015-7547). This fix may impact read/write performance on the following models by no more than 15%, for which Synology is working on an enhancement in the future release.
    • 16-series: DS216se
    • 15-series: DS115j
    • 14-series: EDS14, DS114, DS214se, RS214, DS414slim
    • 13-series: DS213j, DS213air, DS213, DS413j
    • 12-series: DS112, DS112+, DS112j, DS212, DS212j, DS212+, RS212, RS812
    • 11-series: DS111, DS211, DS211+, DS211j, DS411, DS411slim, DS411j, RS411
    • 10-series: DS110j, DS210j, DS410j


[링크 : https://www.synology.com/ko-kr/releaseNote/DS213j]

'하드웨어 > Storage' 카테고리의 다른 글

시놀로지 업데이트.. DSM 6.0!  (0) 2016.03.25
sdsc sdhc sdxc ...  (0) 2016.03.23
ipad용 ds file srt 자막 보기  (0) 2016.02.05
raid01 raid10  (0) 2016.01.31
synology DS file - file station  (0) 2016.01.05
Posted by 구차니
개소리 왈왈/블로그2016. 2. 22. 09:20

집에서 안되서 결국에는 회사와서 결제


회사는 win7 + ie11 인데 잘되는구만

왜 집에서는 안된거야? ㅠㅠ





어짜피 계속 쓸테니.. 걍 2년에 1.5만 결제

1년에 만원이나 머.. 5천원 더 쓰는건데 머... ㅠㅠ

Posted by 구차니
개소리 왈왈/블로그2016. 2. 21. 09:17

이 망할 ActiveX


Win10에 ie8이랑

Win7에 ie11 이었던가? 암튼.. 되는게 없어 ㅠㅠ


회사 가서 결제 해야지 어쩔... ㅠㅠ

'개소리 왈왈 > 블로그' 카테고리의 다른 글

문득... 살아있을까?  (0) 2016.04.27
웹호스팅 결제 -_-  (0) 2016.02.22
블로그 어워드 2015  (0) 2015.12.19
블로그 접어야 하나 ㅋㅋ  (0) 2015.11.14
다음 쪽지 종료 공지  (0) 2015.10.28
Posted by 구차니
개소리 왈왈/영화2016. 2. 20. 23:00

좀.. 기대 이하?

깨알 같은 셀프 디스가 일품이지만

조금 오버 스런 19금 연출들이 조금 눈에 거슬리고


저예산이라 그런지

일단 스토리도 너무 짧고 빈약하다는게 단점

65/100 점 정도 주면 되려나?

'개소리 왈왈 > 영화' 카테고리의 다른 글

더 플랜(2017) - 파파이스 인터넷 공개  (0) 2017.04.20
거울 나라의 엘리스 (2016)  (0) 2016.09.18
엑스맨: 데이즈 오브 퓨쳐 패스트(2014)  (0) 2014.06.01
역린(2014)  (0) 2014.05.11
수상한 그녀(2014)  (0) 2014.02.09
Posted by 구차니

어셈부터 다시 공부좀 해봐야 하나... ㅠㅠ


.text는 코드 영역

.data는 초기화 된 변수

.bss는 초기화되지 않은 변수


어짜피 실행파일(elf?) 에서는 stack / heap이 존재할 이유가 없으니

세개정도의 섹션만 분석하면 답이 나오려나..


highest address


=========

| stack |

|   v   |

|       |

|       |

|   ^   |

|  heap |

=========

|  bss  |

=========

| data  |

=========

| text  |

=========


address 0 


[링크 : https://bytes.com/topic/c/answers/854464-text-data-bss]

'Programming > Assembly(어셈블리)' 카테고리의 다른 글

fasm / nasm / masm  (0) 2015.06.13
어셈블리 관련  (0) 2015.06.11
ia32 어셈블리 언어  (0) 2013.12.12
.DATA? 지시어  (0) 2011.07.31
x86 register  (2) 2011.07.17
Posted by 구차니