store.h revision b26fa1a2fbcfee7d03b0c8fd15ec3aa64ae70b9f
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt#pragma once
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt/***
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt This file is part of systemd.
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt Copyright (C) 2009-2013 Intel Corporation
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt Authors:
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt Auke Kok <auke-jan.h.kok@intel.com>
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt systemd is free software; you can redistribute it and/or modify it
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt under the terms of the GNU Lesser General Public License as published by
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt the Free Software Foundation; either version 2.1 of the License, or
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt (at your option) any later version.
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt systemd is distributed in the hope that it will be useful, but
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt WITHOUT ANY WARRANTY; without even the implied warranty of
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt Lesser General Public License for more details.
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt You should have received a copy of the GNU Lesser General Public License
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt along with systemd; If not, see <http://www.gnu.org/licenses/>.
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt***/
e3169126793f43be3d840874ffb3935a51097001Patrik Flykt
f12abb48fc510b8b349c05e35ba048134debaf25Patrik Flykt#include <dirent.h>
f12abb48fc510b8b349c05e35ba048134debaf25Patrik Flykt
f12abb48fc510b8b349c05e35ba048134debaf25Patrik Flykt#include "bootchart.h"
f12abb48fc510b8b349c05e35ba048134debaf25Patrik Flykt
f12abb48fc510b8b349c05e35ba048134debaf25Patrik Flyktdouble gettime_ns(void);
a9aff3615b430f86bd0a824214d95f634efaf894Patrik Flyktvoid log_uptime(void);
f12abb48fc510b8b349c05e35ba048134debaf25Patrik Flyktint log_sample(DIR *proc,
f12abb48fc510b8b349c05e35ba048134debaf25Patrik Flykt int sample,
f12abb48fc510b8b349c05e35ba048134debaf25Patrik Flykt struct ps_struct *ps_first,
f12abb48fc510b8b349c05e35ba048134debaf25Patrik Flykt struct list_sample_data **ptr,
f12abb48fc510b8b349c05e35ba048134debaf25Patrik Flykt int *pscount,
f12abb48fc510b8b349c05e35ba048134debaf25Patrik Flykt int *cpus);
f12abb48fc510b8b349c05e35ba048134debaf25Patrik Flykt