]>
Commit | Line | Data |
---|---|---|
6d031c0b LP |
1 | #pragma once |
2 | ||
3 | /*** | |
4 | This file is part of systemd. | |
5 | ||
3c527fd1 | 6 | Copyright (C) 2009-2013 Intel Corporation |
6d031c0b LP |
7 | |
8 | Authors: | |
9 | Auke Kok <auke-jan.h.kok@intel.com> | |
10 | ||
11 | systemd is free software; you can redistribute it and/or modify it | |
12 | under the terms of the GNU Lesser General Public License as published by | |
13 | the Free Software Foundation; either version 2.1 of the License, or | |
14 | (at your option) any later version. | |
15 | ||
16 | systemd is distributed in the hope that it will be useful, but | |
17 | WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
19 | Lesser General Public License for more details. | |
20 | ||
21 | You should have received a copy of the GNU Lesser General Public License | |
22 | along with systemd; If not, see <http://www.gnu.org/licenses/>. | |
23 | ***/ | |
24 | ||
25 | #include <dirent.h> | |
71d35b6b | 26 | |
8dfb6e71 | 27 | #include "bootchart.h" |
6d031c0b | 28 | |
6d031c0b LP |
29 | double gettime_ns(void); |
30 | void log_uptime(void); | |
1f2ecb03 DM |
31 | int log_sample(DIR *proc, |
32 | int sample, | |
33 | struct ps_struct *ps_first, | |
34 | struct list_sample_data **ptr, | |
35 | int *pscount, | |
36 | int *cpus); |