Recommended
PPTX
PPTX
PPTX
PPTX
Adv sys prog_20123186_report1
PPTX
RNC C++ lecture_4 While, For
PPTX
PPTX
Make fast file merge program using c
PPTX
PPTX
Bukit bintang slides(individual)
PPTX
Global Citizenship: Empowering Students to Change the World
DOC
Module 1 activity clil unit plan template-1
PPTX
"Солонгос хэлний орчуулгын онол" Хичээл-1
PPTX
PPTX
PPTX
verorama κοσμήματα Θεσσαλονίκη
PDF
PDF
Enbe final project brief (1)
PPTX
PDF
VP 10.2015 Tupperware Essencial
PDF
Thailand Automotive Statistics February 2016
PPTX
Connect Globally to Empower Students
PPT
PDF
PPTX
PPTX
PPTX
PPTX
PDF
PPTX
PPTX
More Related Content
PPTX
PPTX
PPTX
PPTX
Adv sys prog_20123186_report1
PPTX
RNC C++ lecture_4 While, For
PPTX
PPTX
Make fast file merge program using c
PPTX
Viewers also liked
PPTX
Bukit bintang slides(individual)
PPTX
Global Citizenship: Empowering Students to Change the World
DOC
Module 1 activity clil unit plan template-1
PPTX
"Солонгос хэлний орчуулгын онол" Хичээл-1
PPTX
PPTX
PPTX
verorama κοσμήματα Θεσσαλονίκη
PDF
PDF
Enbe final project brief (1)
PPTX
PDF
VP 10.2015 Tupperware Essencial
PDF
Thailand Automotive Statistics February 2016
PPTX
Connect Globally to Empower Students
PPT
PDF
Similar to Merge pt 2
PPTX
PPTX
PPTX
PPTX
PDF
PPTX
PPTX
PPTX
PPTX
고급시스템프로그래밍 Project#1 20123222_서기원
PPTX
PDF
PPTX
PPTX
PPTX
PPTX
PPTX
PPTX
PPTX
Make fast file merge program using c (stage 2)
PPTX
PPTX
Merge pt 2 1. 2. ◎ 2차전 기본 수정사항
1. #define을 이용한 매크로 사용시 소문자가 아닌 대문자로 수정
#define len 104857600 #define LEN 104857600
2. 코드 통일성 수정
if (arge != 4 ){ --- } if(arge != 4){---}
- -
- -
- -
if((readaline_and_out(---){ if((readaline_and_out(---){
3. 오류 발생시 할당 받은 메모리를 free해주는 작업 추가
3. 소요된 시간 : 16.897485 sec
Task-clock : 12469.908482
Cycles : 11,185,986,420
Branches : 1,137,342,741
Branch-misses : 102,141,502
* 소요시간은 stdout으로 출력된 시간을 바탕으로 함
4. 5. 6. 7. ◎ 성능 비교
• 성능 = (최종 버전 실행 시간) / (Template 실행 시간)
• 5회 평균값을 기준으로 비교
origin - 74.9979288 sec new - 13.5529876
sec
13.5529876 / 74.9979288 =
0.180711