#include "http_log.h"
ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, "timeout(%dms -> 24ms)", op_timeout);
start = apr_time_now();
...
spent = apr_time_now() - start;
start = apr_time_now();
ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, "step2 - spent(%d)", spent);
참고할만한 사이트 http://systemv.pe.kr/apache2.4_module_develop
http://dev.ariel-networks.com/apr/apr-tutorial/html/apr-tutorial.html#toc8
'C언어' 카테고리의 다른 글
구조체 선언과 동시에 초기값 설정 (0) | 2015.02.13 |
---|---|
아파치 모듈 프로그래밍 (0) | 2015.02.01 |
LCS(Longest common subsequence) example code (0) | 2014.12.02 |
mmap 주의점 (0) | 2014.11.27 |
large file or large memory (0) | 2014.11.24 |