Klaus Demo nginx / b45498c
fix a comment and a style fix Igor Sysoev 12 years ago
1 changed file(s) with 1 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
77 #include <ngx_core.h>
88
99 /*
10 * declare Profiler here interface because
10 * declare Profiler interface here because
1111 * <google/profiler.h> is C++ header file
1212 */
1313
100100 }
101101
102102 if (getenv("CPUPROFILE")) {
103
104103 /* disable inherited Profiler enabled in master process */
105104 ProfilerStop();
106105 }
108107 ngx_sprintf(profile, "%V.%d%Z", &gptcf->profiles, ngx_pid);
109108
110109 if (ProfilerStart(profile)) {
111
112110 /* start ITIMER_PROF timer */
113111 ProfilerRegisterThread();
114112