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