OLD | NEW |
(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 */ |
OLD | NEW |