Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: native_client_sdk/src/libraries/xray/report.c

Issue 19673003: [NaCl SDK] Consistent use of copyright header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file. */
4 */
5 4
6 5
7 /* XRay -- a simple profiler for Native Client */ 6 /* XRay -- a simple profiler for Native Client */
8 7
9 #include <alloca.h> 8 #include <alloca.h>
10 #include <errno.h> 9 #include <errno.h>
11 #include <stdarg.h> 10 #include <stdarg.h>
12 #include <stdint.h> 11 #include <stdint.h>
13 #include <stdio.h> 12 #include <stdio.h>
14 #include <stdlib.h> 13 #include <stdlib.h>
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 int ticks_cutoff) { 195 int ticks_cutoff) {
197 FILE* f; 196 FILE* f;
198 f = fopen(filename, "wt"); 197 f = fopen(filename, "wt");
199 if (NULL != f) { 198 if (NULL != f) {
200 XRayReport(capture, f, percent_cutoff, ticks_cutoff); 199 XRayReport(capture, f, percent_cutoff, ticks_cutoff);
201 fclose(f); 200 fclose(f);
202 } 201 }
203 } 202 }
204 203
205 #endif /* XRAY */ 204 #endif /* XRAY */
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/xray/parsesymbols.c ('k') | native_client_sdk/src/libraries/xray/stringpool.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698