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

Side by Side Diff: init/perf_log.h

Issue 524041: Changes to make upstart log performance stats to a file. (Closed)
Patch Set: More tab/space stuff Created 10 years, 11 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
« no previous file with comments | « init/main.c ('k') | init/perf_log.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef PERF_LOG_H
6 #define PERF_LOG_H
7
8 #include "job.h"
9
10 NIH_BEGIN_EXTERN
11
12 char **get_file_fields (void *parent,
13 const char *file,
14 char *delimiters,
15 int *fields);
16
17 void perf_log_init (void);
18
19 void perf_log_flush (void);
20
21 void perf_log_set_files (const char *uptime_file,
22 const char *diskstats_file,
23 const char *timestamp_file);
24
25 void perf_log_message (const char *format,
26 ...);
27
28 void perf_log_job_state_change (Job *job,
29 JobState new_state);
30
31 NIH_END_EXTERN
32
33 #endif /* PERF_LOG_H */
OLDNEW
« no previous file with comments | « init/main.c ('k') | init/perf_log.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698